Quote Originally Posted by jellis00 View Post
Joe S., I commented out the line in the include file per your instructions and tried to compile again and still get all the 113 errors. ?????
Did I mention that I am using the PICBASIC PRO Demo compiler that came with the PICkit2 Starter Kit and not a production version of PICBASIC PRO Demo.....would that make a difference?
Hmmm I don't know beans about the Demo version except you are limited as to how many lines of code it will run. Try removing the sound lines and any blank lines and try again, also try removing the code relating to unused ports, namely porta and b, or better yet try this, with the 16f690.inc file unaltered.
Code:
DEFINE OSC 4
LED_1 VAR BIT  ' PORT FLAG BIT
LED_1 = 0      ' SET INITIAL VALUE
TRISC.0 = 0 ' Make PORTC.0 an output


Main:
IF LED_1 = 0 THEN
LED_1=1
ELSE
LED_1 = 0
ENDIF
PORTC.0 = LED_1




PAUSE 250 ' Delay for 1 second (compiler errors with this line - I guess the command isn't right!)
Goto Main ' Loop forever