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.
YouTube - led blink using pic through mplab programming#include <HTC.H>
__CONFIG(INTIO & WDTDIS & PWRTDIS & BORDIS & LVPDIS );
void main()
{
TRISA=0;
TRISB=0;
while (1)
{
PORTA = 0x55;
PORTB = 0x55;
_delay(100000);
_delay(100000);
_delay(100000);
_delay(100000);
//_delay(100000);
PORTA = 0xaa;
PORTB = 0xaa;
_delay(100000);
_delay(100000);
_delay(100000);
_delay(100000);
//_delay(100000);
}
}