Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I wrote a great PIC16F877A tutorial for beginners.
It covers everything from how to connect the PIC, to sensors, motors, lights.
so how to get that
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 #include<pic.h> // Blinking LED #include<htc.h> __CONFIG(HS & PWRTEN & BOREN & LVPEN & WDTDIS & DUNPROT & DEBUGDIS); void main(void) { unsigned int i; ADCON1 =0x06 ; // Changes PORTA to digital CMCON = 0x07 ; // Disable analog comparators TRISA = 0x00 ; // Configure PORTA as output PORTA = 0x00; TRISD = 0X00 ; PORTD = 0X00 ; while(1) { //PORTA = 0XFF ; //PORTB = 0XFF ; //PORTC = 0XFF ; PORTD = 0XFF ; for(i=0;i<1500;i++); PORTD = 0X00 ; for(i=0;i<1500;i++); //for(i=0;i<500;i++); //for(i=0;i<500;i++); } }