Skip to main content

Control CodeBug over Serial USB.

Project description

CodeBug Tether
==============
Control CodeBug in tethered mode over Serial USB.

Documentation: http://codebug-tether.readthedocs.org/

Features:

- LED control
- Inputs/Outputs (legs, buttons, extension pins)
- Input/Output configuration (direction and pullups)
- Extension pin control (I/O, SPI, I2C)


Updating Notes
--------------
Be sure to update the version number in:

codebug_tether/version.py
CHANGELOG
docs/conf.py
Change Log
==========

v0.8.4
------
- Default serial port is set to blank on error and added 'requires' to
setup.py

v0.8.3
------
- Nicer error message for Windows/OSX.

v0.8.2
------
- More robust OS and serial port check.

v0.8.1
------
- Figures out default serial port for Raspberry Pi 2 and below,
Raspberry Pi 3 and above and MacOS.

v0.8.0
------
- Added servo support.

v0.7.4
------
- Fixed a bug with io_pwm() running three times faster than it should.
Fixes #15.

v0.7.3
------
- Fixed a bug with colourtail timing issue in the firmware.

v0.7.2
------
- Fixed a bug with colourtail using the new set_bulk.

v0.7.1
------
- Fixed a bug with set_bulk and updated tests.

v0.7.0
------
- Fixed bytes error in serial_channel_device -- and/or/bulk commands
work again.
- Added support for analogue inputs and PWM.

v0.6.1
------
- Fixed error with `set_pullup`. Fixes issue #14.

v0.6.0
------
- Added UART support.

v0.5.0
------
- Updated packet layer, better support for bulk commands and AND/OR masks.
- Added extension pin control.
- Added I2C/SPI support.
- Added Colour Tail (WS2812) support.

v0.4.3
------
- Updated docs.

v0.4.2
------
- Fixed `set_output()` but where setting value of one leg would reset
the other legs.

v0.4.1
------
- Added timeout to serial initialisation and updated charmap `led_state`
to `pixel_state` to match previous change.
- Added `set_leg_io` method.

v0.4.0
------
- Changed led -> pixel

v0.3.0
------
- Removed confusing channel list.
- Ready for release on GitHub.

v0.2.0
------
- Added and_mask into set packets.

v0.1.2
------
- Added some more examples.
- Updated the readme.

v0.1.1
------
- Fixed CodeBug.get_input().

v0.1.0
------
- Inital dev release.

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

codebug_tether-0.8.4.tar.gz (13.6 kB view details)

Uploaded Source

File details

Details for the file codebug_tether-0.8.4.tar.gz.

File metadata

File hashes

Hashes for codebug_tether-0.8.4.tar.gz
Algorithm Hash digest
SHA256 4edf305c9d631c6e5d620615a3517c2bc6af133ba0b88f39bcd8289f149e6f80
MD5 6f8b7acd1d28bd433985e3d888d09f04
BLAKE2b-256 1ad72c1db9d2abe66759857879b2bad6a974cc641822815ed4d08cd7c0e20125

See more details on using hashes here.

Supported by

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