Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1585

Python • Read .xlsx file for LED configuration

$
0
0
I've been playing with a program that will show a configuration of colors on an LED WS2812 strip based on pressing one of many buttons and recognizing the state of various toggle switches.

I have an xlsx file that has all of the conditions, but my program doesnt seem to be reading it correctly.
When a button is pressed, there will be multiple conditions based on a few of the toggle switches. For example, if the reset button is pressed, it will look for the "ATS" toggle switch, and based on its orientation, will either have one or another series of lights turn green.

I'm looking for advice on whether my table is set up correctly, or if I need to format it differently.

Statistics: Posted by alfordtp — Tue Jun 24, 2025 4:23 pm



Viewing all articles
Browse latest Browse all 1585

Trending Articles