PRU
- class olaf.PruState(value)[source]
Bases:
EnumAll the states a Pru can be in.
- OFFLINE = 1
PRU is offline
- RUNNING = 2
PRU is online and running
- class olaf.Pru(pru_num: int)[source]
Handles interterations with a PRU on Octavo A8.
A PRU is Programible Real-time Unit. It’s a microcontroller that shares pins and other resources with the core processor.
- Parameters:
pru_num (int) – PRU number. Must be a 0 or 1.
- Raises:
PruError – pru was not set to 0 or 1 or if the firmware file does not exist.