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
=====
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dot3k-1.0.tar.gz
(6.4 kB
view details)
File details
Details for the file dot3k-1.0.tar.gz
.
File metadata
- Download URL: dot3k-1.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9e3776d3d5cd63b2dc53467f6e97f680537a0ed727050cf15bf5d1de5111c8b |
|
MD5 | 068c1b38caa288e71b8a44431ab11f82 |
|
BLAKE2b-256 | 59a01bb120388711c9d56df8572c7dda9bad326574c9a5607d6014cd4cfa8f42 |