Skip to main content

UNKNOWN

Project description

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 : ...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ioio-dev.0.tar.gz (9.3 kB view details)

Uploaded Source

File details

Details for the file ioio-dev.0.tar.gz.

File metadata

  • Download URL: ioio-dev.0.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ioio-dev.0.tar.gz
Algorithm Hash digest
SHA256 a0f651e034604be634018923e43551abeecd35a24a85a4a715e227bb84a56284
MD5 49ef63fcf30609a06c4b52b55afe79cc
BLAKE2b-256 170a8964f664683f31f1037d7df0c1dd4e26a5ecbfab0d74ee9b207ab8ee58fb

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page