Ste was thirsty for OJ after NERP at Pumping Station: One so we figured out how to display orange on the Adafruit LCD Pi Plate. The I2C I/O chip doesn’t have PWM, so Python can only turn on/off red, green and blue. So we decided to switch between red and yellow quickly with a 3 to 2 ratio and our brains saw orange (although sadly my camera not so much).
Code snippet… very inefficient. my hope is this idea could be implemented properly with enough optimization to be useful
Adafruit RGB Positive 16×2 LCD+Keypad Kit for Raspberry Pi: This new Adafruit Pi Plate makes it easy to use an RGB 16×2 Character LCD. We really like the RGB Character LCDs we stock in the shop. (For RGB we have RGB negative and RGB positive.) Unfortunately, these LCDs do require quite a few digital pins, 6 to control the LCD and then another 3 to control the RGB backlight for a total of 9 pins. That’s nearly all the GPIO available on a Pi! With this in mind, we wanted to make it easier for people to get these LCD into their projects so we devised a Pi plate that lets you control a 16×2 Character LCD, up to 3 backlight pins AND 5 keypad pins using only the two I2C pins on the R-Pi! The best part is you don’t really lose those two pins either, since you can stick i2c-based sensors, RTCs, etc and have them share the I2C bus. This is a super slick way to add a display without all the wiring hassle. (read more)
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, or even use Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for MakeCode, CircuitPython, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.