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.
If you start a design out with very little RAM and only 14 pins you will have problems.
#include<htc.h> // definitions are here
#define _XTAL_FREQ 4000000
void main()
{
TRISA = 0;
while(1) // loop forever
{
RA0 = 1; //porta.0 on
__delay_ms(200);
RA0 = 0; //porta.0 off
__delay_ms(200);
}
}