shouldnt it be something like this?
Code:Button var PORTB.0 ' Push button LED1 var PORTB.1 ' Led 1 LED2 var PORB.2 ' Led 2 If Button=1 Then ' If button is push High LED1 ' Turn on the LED IF Button=0 Then High LED2 endif
shouldnt it be something like this?
Code:Button var PORTB.0 ' Push button LED1 var PORTB.1 ' Led 1 LED2 var PORB.2 ' Led 2 If Button=1 Then ' If button is push High LED1 ' Turn on the LED IF Button=0 Then High LED2 endif
Bookmarks