Skip to content

Example: Turn BlinkStick off

towlerj edited this page May 8, 2020 · 2 revisions

This example shows how to turn off all BlinkSticks.

from blinkstick import blinkstick

for bstick in blinkstick.find_all():
    bstick.turn_off()
    print (bstick.get_serial() + " turned off")
Clone this wiki locally