Example: blink user LED 3. More...
#include "../pruio/pruio.bi"
Go to the source code of this file.
Macros | |
#define | PIN /* 24 '' CPU ball # of user led 3 */ |
include libpruio More... | |
#define | OUT_K /* .gpio_out(PIN, 1) : SLEEP 250 : .gpio_out(PIN, 0) : SLEEP 150 */ |
#define | OUT_L /* .gpio_out(PIN, 1) : SLEEP 750 : .gpio_out(PIN, 0) : SLEEP 150 */ |
#define | OUT_S /* OUT_K : OUT_K : OUT_K : SLEEP 250 */ |
#define | OUT_O /* OUT_L : OUT_L : OUT_L : SLEEP 250 */ |
Variables | |
VAR | io = NEW PruIo |
create a PruIo structure, wakeup devices More... | |
Example: blink user LED 3.
This file contains an example on how to use libpruio to control the user LED 3 (near ethernet connector) on the beaglebone board.
Licence: GPLv3
Copyright 2014 by Thomas{ dOt ]Freiherr[ At ]gmx[ DoT }net
Compile by:
fbc -w all sos.bas
Definition in file sos.bas.
#define PIN /* 24 '' CPU ball # of user led 3 */ |