diff options
| author | Ingar <ingar@telenet.be> | 2022-02-12 18:14:22 +0100 |
|---|---|---|
| committer | Ingar <ingar@telenet.be> | 2022-02-12 18:14:22 +0100 |
| commit | 9df3e8c8489feb680dd9a81c2f24372195bdcf5b (patch) | |
| tree | 59dae231e89159b65182c4dd8fc39b7db96234b1 /ledctl.py | |
| parent | a1a992d701b83669769847d55ec52520bb9ceddc (diff) | |
Set LED array size to 1.
Diffstat (limited to 'ledctl.py')
| -rw-r--r-- | ledctl.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ parser.add_argument('color', type=str, help='color or command') args = parser.parse_args(); # initialize LED array -leds_max = 6 +leds_max = 1 leds_num = 0 leds_array = neopixel.NeoPixel(board.D18, leds_max) |
