Syntax Error with PBP and Mplab

Status
Not open for further replies.

simple&cheap

New Member
I got a Syntax Error on line 26 of this code. Line 26 is SF=0
SF should be BUZ. if I change it to buz and try compiling
I get unable to access file
Error processing cod file
if I change it back to SF I get the line 26 error. any help

SYMBOL TRG = GPIO.0
SYMBOL Camswitch = GPIO.1
SYMBOL SENSOR = GPIO.2
SYMBOL BUZ = GPIO.5


TRG= 1
Camswitch = 0
SF=0
 
You've already assigned BUZ to a port. If you are trying to make the port go low try "LOW BUZ" instead of BUZ=0.
 
sorry for not getting back i had to go out of town. found the problem the code was written using CDlite I could fix it there. but not in PBP. thanks again and I'm sure I will need more help in the future
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…