Skip to content

Instantly share code, notes, and snippets.

@0xf2
Created April 17, 2020 06:29
Show Gist options
  • Save 0xf2/4f2a23502e14021ebe867cd2003c1d2f to your computer and use it in GitHub Desktop.
Save 0xf2/4f2a23502e14021ebe867cd2003c1d2f to your computer and use it in GitHub Desktop.
Clear all LEDs on a Pimoroni Blinkt. Useful for resetting after a parallel-ssh run on multiple cluster nodes.
#!/usr/bin/env python
import blinkt
blinkt.set_clear_on_exit()
blinkt.set_all(0,0,0)
blinkt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment