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.

Source Distribution

blink1py-0.1.0.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

blink1py-0.1.0-py2.7.egg (5.8 kB view hashes)

Uploaded Source

Supported by

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