V.RAGHUVEER
Newbie level 5
C:\Users\MICRO CONTROLLER\buzzers.c:22:Error: syntax error
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.
Post buzzers.c here
There is a reported error in line 22
#include <p18F4520.h>
#include <delays.h>
void main()
{
char i;
ADCON1 = 0x0F;
TRISA = 0b11000000;
PORTA = 0;
for(i = 0; i < 2000; i++)
{
PORTAbits.RA1 = 1;
Delay10TCYx(100);
PORTAbits.RA1 = 0;
Delay10TCYx(100);
}
}