blink1py

blink(1) library wrapper


License
Apache-2.0
Install
pip install blink1py==0.1.0

Documentation

blink1py

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()