Simple LED Blink Code Help needed
NWCCTV
Posts: 3,629
In June's N&V Spin Zone JM has a tutorial for RFID. There are some examples for blinking LED's at the beginning and for the life of me I can't get them to work. Very simple code but I keep getting 'Expected an Instruction or Variable" error at the io.high command. Any help is appreciated. I know I am just overlooking something. I want to try the RFID project but I need to get this part going first.
pub main | t t := cnt repeat io.high(LED_26) waitcnt(t += (100 * MS_001)) io.low(LED_26) waitcnt(t += (400 * MS_001))
Comments