I must be slow or something cause i can not get anything to work. I am trying to do a code for just a single blinking light in mplab ide. my code is as follows straight from a book. I wrote it in notebook and saved as .bas file and tryed to compile it in mplab?
void main() {
Loop:
High PORTB.1
Pause 1000
Low PORTB.1
Pause 500
Goto loop
End
}
I tryed adding #include <18f1320.h> at the top but it errors saying it cant find it? Any information would be really appreciated. Thanks.
void main() {
Loop:
High PORTB.1
Pause 1000
Low PORTB.1
Pause 500
Goto loop
End
}
I tryed adding #include <18f1320.h> at the top but it errors saying it cant find it? Any information would be really appreciated. Thanks.