Skip to main content

Display-o-Tron 3000 Driver

Project description

# Display-o-Tron 3000

## Installing

We've created a super-easy installation script that will install all pre-requisites and get your Dot3k up and running in a jiffy, just type this into a terminal or LXTerminal:

curl | bash

## Usage

### LCD

from dot3k import lcd
lcd.write('Hello World!')

### Backlight

from dot3k import backlight

### Joystick

from dot3k import joystick
def handle_joystick_up(pin):
print("Joystick up!")


* Now handles reset pin for Display-o-Tron HAT
* Added cap1xxx as a dependency


* Added support for Display-o-Tron HAT
* Misc fixes and improvements


* Added new MenuIcon class with pre-made icons for use in plugins/menus
* Added "cancel" method which can be called to immediately exit any menu item


* Fixed bug in screensaver functionality so it works with non-keyword args
* Added new "add_item" feature so that menu items can be kept in order


* Backlight now has off() method shortcut for turning lights off
* Added a use_brg() method for old Dot3ks with different pixel order


* Significant, possibly breaking, change to to remove redundant imports
* lcd and joystick should work with Python 3, backlight still requires smbus


* Sane defaults for write_option(), now no longer defauts to 1 margin and blank icon


* Added input handling plugin support
* Remapped parameters to args/kwargs to make menu initialisation less mystifying


* Fixed bug in set_bar which cased the left blue backlight to light


* Added support for an "idle" plugin which shows after a customisable amount of seconds


* Fixed joystick repeat using delta timing instead of delays


* Bugfix of line-endings
* Attempt to fix joystick.repeat to prevent multiple repeats firing at once


* Removed plugins from into examples/plugins folder


* Breaking changes with plugin compatibility vs version 1.1
* Many fixes to redraw calls
* Plugin redraw method is now passed the "menu" instance


* Fix for joystick on Rev 1 Pi


* Initial Release

Project details

Download files

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

Files for dot3k, version 2.0.1
Filename, size File type Python version Upload date Hashes
Filename, size dot3k-2.0.1.tar.gz (11.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page