Hi (still a beginner)
I'd let to set an output LED if a certain condition is true
so far so good
later in the program I'd like to see if this has been set
but
give me a syntacs error
I realize that b.6 is an output pin, but do I really have to set a second variable to test?
Thanks
I'd let to set an output LED if a certain condition is true
Code:
symbol NoCreep = B.6
low NoCreep
if condition = true then
high NoCreep
endif
later in the program I'd like to see if this has been set
but
Code:
if NoCreep =1 then
;blahblah
endif
I realize that b.6 is an output pin, but do I really have to set a second variable to test?
Thanks