Example: blink user LED 3. More...
Go to the source code of this file.
Functions | |
def | sos.MCode (dur) |
Morse code output, parameter is duration. | |
def | sos.out_S () |
Output character 'S'. | |
def | sos.out_O () |
Output character 'O'. | |
Variables | |
int | sos.PIN = 24 |
CPU ball number in use (LED3) | |
int | sos.pinmode = 0 |
gloabal variable More... | |
float | sos.Kurz = 0.15 |
Time for short Morse code. | |
float | sos.Lang = 0.35 |
Time for long Morse code. | |
sos.io = pruio_new(PRUIO_DEF_ACTIVE, 4, 0x98, 0) | |
Create a ctypes pointer to the pruio structure. | |
sos.IO = io.contents | |
The pointer dereferencing, using contents member. | |
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. It shows how to unlock a CPU ball that is used by the system. And it shows how to control the unlocked ball. Find a functional description in section sos.
Licence: GPLv3, Copyright 2017-2023 by Thomas{ doT ]Freiherr[ At ]gmx[ DoT }net
Run by: python sos.py
Definition in file sos.py.