PAGES

Thursday, August 1, 2013

Propeller Simple Spin Board Part 6

PROPELLER SIMPLE SPIN BOARD - PART 6

LOOP SWITCH
MAKE a loop switch (see photo) from a curved insulated wire, to switch from BOE ON to BOE OFF. With the BOE Brown Out Enable switch off, low power experiments can be conducted. With BOE ON, when the voltage supply approaches 2.7 volts, a Propeller reset will occur.

SIMPLE LED ON PROGRAM
As promised this is a more simple program to activate the LED on pin 15. With only four code lines, it will turn on the LED and keep in on. Add this simple 4-step program to your code repository for future experiments.

PUB LedOn          ' Method declaration
    dira[15] := 1  ' Set P16 to output
    outa[15] := 1  ' Set P16 high
 repeat            ' Keep LED on