Spin Code & the Phantom LED
Humanoido
Posts: 5,770
Using the Demo Board, can someone tell me why this code lights up the yellow LED on pin 20 and a phantom LED on pin 21 which is half as bright? Thanks in advance.
Humanoido
Humanoido
'' DEMO200.spin for the Demo Board '' Set yellow LED on pin 20 to output and blink CON LED = 20 ' I/O pin PUB LEDBlink ' Main method on/off signals dira[LED]~~ ' Set pin to output repeat ' Loop ! outa[LED] ' Change pin state waitcnt(clkfreq / 4 + cnt) ' Wait
Comments
Check the schematic http://www.parallax.com/Portals/0/Downloads/docs/prod/prop/PropellerDemoBd-RevG-Schem.pdf
Humanoido
Humanoido