
www.picaxe.com/products/axe171
AXE171 PICAXE-14 Audio Kit © Revolution Education Ltd 2015 v1.1
May be copied for educational use.
11
4.1.4 Testing the LEDs
The AXE171 project board has LEDs on:
Output B.2
Output B.5
Therefore make sure the correct pin number is selected within each PICAXE command.
The following program will flash one LED on and off every second.
Blockly
Flowchart
BASIC
do
high
B.2
; LED on
pause
1000
; wait 1 second
low
B.2
; LED off
pause
1000
; wait 1 second
loop
If the LED does not work check:
1.
the LED is connected the correct way around
2.
the correct resistor is used
3.
the correct output pin number is being used in the program
4.
all the solder joints are good