andrewdavidmackenzie / pigg

GUI for remote control of Raspberry Pi GPIO hardware
Apache License 2.0
232 stars 9 forks source link

Review pin coloring algorithm #391

Open andrewdavidmackenzie opened 3 months ago

andrewdavidmackenzie commented 3 months ago

I think we should review this, so the pin colors are derived from either the general function of a pin (programmable, gnd, 3.3v, 5v etc), or the selected PinFunction.

And extend it to cover the functions, names and colors recommended for the Pi Pico pins (see assets/images for pico W pinout).

And avoid it being directly linked with pin names?

andrewdavidmackenzie commented 3 months ago

Another reference: https://raspi.tv/2013/rpi-gpio-basics-4-setting-up-rpi-gpio-numbering-systems-and-inputs