|
'BX-24 Flashme sub program
Sub Main()
'This is a simple program to make the red LED on your bx24 flash
Do
call putPin(25, 0)
'This translates to.. .."make pin 25 (the red led pin) high".
'NOTE: the green and red LED on the BX24 function as follows:
'1 = low (off), 0=high(on). 'This is the opposite of the other pins, where 1=high and 0 = low.
call Delay(1.0)'pause
call putPin(25, 1)'turn red LED off
call Delay(1.0)'pause Loop
End Sub
|