Download Seminar Report

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Document related concepts

Opto-isolator wikipedia , lookup

Rectiverter wikipedia , lookup

Immunity-aware programming wikipedia , lookup

Transcript
Programming coding in c language
#include<reg51.h>
sbitsw=P1^0;
unsigned char i=0;
void main()
{
unsigned char a[6];
a[0]=0x86;
a[1]=0x0DB;
a[2]=0x0CF;
a[3]=0x0E6;
a[4]=0x0ED;
a[5]=0x0FD;
sw=1;
while(1)
{
if(sw==0)
{
for(i=0;i<=5;i++)
{
P2=a[i];
}
}
}
}
Testing result:
 Output of IC7805 should be 5 volt we get it.
 Port 2 is interfaced with the seven segment we get at both pins
are shorts circuited found.
