Quantcast
Channel: Support - Pimoroni Buccaneers
Viewing all articles
Browse latest Browse all 6933

5 button shim : how to keep led on after script exit?

$
0
0

@chaos wrote:

#!/usr/bin/env python
import buttonshim
buttonshim.set_pixel(200, 0, 0)

I would like to set the led color (&exit the script) and let it stay that way until I change it again.
The 3liner above does the trick,yet as soon as the script exits,the led is off again :(

Posts: 6

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6933

Trending Articles