Skip to main content

Posts

Study of IC 74LS85 as a Magnitude Comparator

  TITLE: Study of IC 74LS85 as a Magnitude Comparator   AIM: Design and Implement 4 bit comparator.   COMPONENTS REQUIRED :   Digital Trainer Kit, IC 7485, Patch Cord ,+ 5V   Power Supply THEORY : COMPARATOR:                                                                                                                        Comparators can be designed for comparing multi-bit numbers. It receives two n-bit numbers A and B as inputs and outputs are A>B, A=B & A<B. Depending upon relative magnitude of two numbers, one of outputs will be HIGH. The 4-bit comparators are available in MSI(7485) which compares straight bi...

Read the Office 365 Outlook specific email in python

 Below is the program which shows how to read the Office 365 Outlook Inbox emails received from specific email-id in python. I have read all the email id from which I have got emails in the inbox folder. Also, I have all the emails text body from received from specific email-id in python. For this you need to install the pywin32 library in your program using following command. pip install pywin32 The program is: from win32com.client import Dispatch import win32com outlook = Dispatch( "Outlook.Application" ).GetNamespace( "MAPI" ) inbox = outlook.GetDefaultFolder( "6" ) all_inbox = inbox.Items folders = inbox.Folders for msg in all_inbox: if msg.Class == 43 : if msg.SenderEmailType == 'EX' : print (msg.Sender.GetExchangeUser().PrimarySmtpAddress) else : print (msg.SenderEmailAddress) outlook = win32com.client.Dispatch( "Outlook.Application" ).GetNamespace( "MAPI" ) inbox = outlook.GetDe...

Read the Office 365 Outlook Inbox emails in python

 Below is the program which shows how to read the Office 365 Outlook Inbox emails in python. I have read all the email id from which I have got emails in the inbox folder. Also, I have read the last/latest email body in python. For this you need to install the pywin32 library in your program using following command. pip install pywin32 The program is: from win32com.client import Dispatch import win32com outlook = Dispatch( "Outlook.Application" ).GetNamespace( "MAPI" ) inbox = outlook.GetDefaultFolder( "6" ) all_inbox = inbox.Items folders = inbox.Folders for msg in all_inbox: if msg.Class == 43 : if msg.SenderEmailType == 'EX' : print (msg.Sender.GetExchangeUser().PrimarySmtpAddress) else : print (msg.SenderEmailAddress) outlook = win32com.client.Dispatch( "Outlook.Application" ).GetNamespace( "MAPI" ) inbox = outlook.GetDefaultFolder( 6 ) messages = inbox.Items message = messages.Get...

Study of Shift Register, Design and Implement 4-bit right shift and left shift register using D-flip flop

  TITLE: Study of Shift Register   AIM: Design and Implement 4-bit right shift and left shift register using D-flip flop   COMPONENTS REQUIRED :   Digital Trainer Kit, IC7495, Patch Cord . THEORY : Flip flops can be used to store a single bit of binary data (1or 0). However, in order to store multiple bits of data, we need multiple flip flops. N flip flops are to be connected in an order to store n bits of data. A Register is a device which is used to store such information. It is a group of flip flops connected in series used to store multiple bits of data. The information stored within these registers can be transferred with the help of shift registers. Shift Register is a group of flip flops used to store multiple bits of data. The bits stored in such registers can be made to move within the registers and in/out of the registers by applying clock pulses. An n-bit shift register can be formed by connecting n flip-flops where each flip flop stores a sing...