How To ...‎ > ‎

How blink a led

This example shows how blink a led connected on the pin GPIO02

CODE: blink.bas

led = ' GPIO02. Change with the pin where your led is connected 
pin.mode led, output
for z = 0 to 1000
  pin(led) = 1 - pin(led)       
  pause 500
next z
Comentarios