Datasheet

Table Of Contents
20
revolution
(c) Copyright Revolution Education Ltd. Web: www.picaxe.co.uk Version 1.1 04/10
BOT120.PMD
BOT120 PICAXE-20X2 MICROBOT
Programming Example 1 - LED Eyes
The two LED eyes of your Microbot are controlled by Output Pins B.1
and B.3 of the PICAXE-20X2.
Note that the LED eyes will always briefly flash when the
Microbot is first switched on or after it is reprogrammed. This is
to indicate that the Microbot is working correctly. After the eyes
flash the Microbot will then start running the program that is
stored in it’s flash memory.
The following flowchart will turn the left LED on for half a second, turn
that LED off and turn the right LED on for half a second and repeat.
Sample Logicator Flowchart File:
BOT120 LED FLASH TEST.PLF
Sample BASIC File:
BOT120 LED FLASH TEST.BAS
main:
low B.1
high B.3
pause 500
high B.1
low B.3
pause 500
goto main