Skip to main content

blink(1) library wrapper

Project description

Blink(1) python library

Prerequesites

  1. Make the blink1 library (see blink1/commandline)

2. Rename the blink1 library to libblink1.so.0.0 (or something that will resolve as blink1) and add it to your path (ie ldconfig)

Usage

Example:

blink1 = open_blink1()

blink1.set_rgb(255, 0, 0)

blink1.on() #white

blink1.off()

blink1.close()

Now with more with!

with blink1py.open_blink1() as blink1:
    blink1.on()

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 blink1py, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size blink1py-0.1.0-py2.7.egg (5.8 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size blink1py-0.1.0.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page