Skip to main content

Display-o-Tron 3000 Driver

Project description

dot3k
=====

Requirements
------------

You should install python-smbus first via apt:

sudo apt-get install python-smbus

And pip, if you don't have it:

sudo apt-get install python-pip

Then install st7036 and sn3218 using pip:

sudo pip install st7036 sn3218

Usage
=====

LCD
---

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


Backlight
---------

import dot3k.backlight as backlight
backlight.sweep(0.5)
backlight.update()

Joystick
--------

import dot3k.joystick as joystick
@joystick.on(joystick.UP)
def handle_joystick_up(pin):
print("Joystick up!")

1.0dev
------

* 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 1.0
Filename, size File type Python version Upload date Hashes
Filename, size dot3k-1.0.tar.gz (6.4 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