Using TWILCD with Adafruit RGB displays
|TWILCD RGB edition|
|15||LED -||GND to backlight|
We have recently got a couple of questions about using TWILCD 40x2/40x4/RGB edition together with Adafruits 16x2 and 20x4 RGB character displays.
The RGB displays from Adafruit are unfortunately not directly compatible. We constructed the TWILCD board for Newhaven RGB displays which are configured as common cathode RGB light. Adafruit's RGB displays are common anode.
Adafruit RGB displays expect:
- pin 15: LED +5V
- pin 16: Red GND
- pin 17: Green GND
- pin 18: Blue GND
It is possible to make it work with a couple of hacks:
Do not connect pin 15 to the board (it is marked with GND on the board.) Instead you need to pull a wire to connect pin 15 on the display to VCC.
In the Arduino library the color value will be inverted, so use this instead:
We have added all pinouts for our two TWILCD versions (standard and 40x2/40x4/RGB) to the TWILCD Resources page.