Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

An IOIO python module

This is very very alpha.

Basic Usage
------

import ioio
i = ioio.IOIO('/dev/ttyACM0')


Module layout:
------

ioio.IOIO : main class
Contains a board, interface, and protocol (see below)

ioio.boards : IOIO boards
Contains information about what a given board supports
Stores information about board state

ioio.interfaces : IOIO communication interfaces
Different ways to communicate with an IOIO board
Each must support:
connect/disconnect
read/write

ioio.protocols : IOIO protocols
Abstraction to (hopefully) support multiple IOIO protcol versions


TODO
------

Constants (pull [floating/low/high], etc...) where do they go?
State (where should it go?)

IOIO Functions
- Digital I/O
- Input
- Change Notify : (test: digital_in.py)
- Periodic Sampling : is this implemented in firmware?
- Output (test: led.py)
- Analog Input (test: analog_in.py)
- !! how do I store number of analog pins? for report_analog_in_status
- PWM Output (not working test: pwm.py) !! need to store state for this too
- Incap/Pulse Input (test: pulse_in.py)
- UART (test: uart.py)
- SPI
- TWI/I2C
- ICSP

Notes
------

Function uses: (all = config)
- digital out : write
- digital in : callback
- analog in : callback
- pwm output : write
- incap/pulse input : callback
- uart : write & callback
- spi : ...
- twi/i2c : ...
- icsp : ...

Metadata

Release files for ioio dev

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ioio dev
File Size Uploaded
ioio-dev.tar.gz 9.2 kB Details

Release files / ioio-dev.tar.gz

Download URL ioio-dev.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e231156a147ccb1d6fe7e283ec26880f98127bc39991da3f3506b7d8b165e9c9
BLAKE2b-256 checksum
How to use checksums
e5c67ef7e4636db6f82dee7c41ceca368f372e2458c9f9483c6a8e35728277f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

dev This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page