{"id":20146486,"url":"https://github.com/felixthecat8a/lcd_backlightrgb","last_synced_at":"2026-05-03T07:37:21.827Z","repository":{"id":241428487,"uuid":"806791227","full_name":"felixthecat8a/LCD_BacklightRGB","owner":"felixthecat8a","description":"This library enables the user to control the RGB backlight of an 18-pin LCD display connected directly to an Arduino board.","archived":false,"fork":false,"pushed_at":"2025-02-20T02:36:23.000Z","size":94,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-20T02:36:28.892Z","etag":null,"topics":["arduino","arduino-library","lcd","lcd-backlight","rgb","rgb-backlight"],"latest_commit_sha":null,"homepage":"https://docs.arduino.cc/libraries/lcd_backlightrgb/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/felixthecat8a.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-27T23:06:04.000Z","updated_at":"2025-02-20T02:34:14.000Z","dependencies_parsed_at":"2024-05-28T09:34:30.929Z","dependency_job_id":"b7538d8c-aef6-4d6d-b458-4669f09e7632","html_url":"https://github.com/felixthecat8a/LCD_BacklightRGB","commit_stats":null,"previous_names":["felixthecat8a/lcd_backlightrgb"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixthecat8a%2FLCD_BacklightRGB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixthecat8a%2FLCD_BacklightRGB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixthecat8a%2FLCD_BacklightRGB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixthecat8a%2FLCD_BacklightRGB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felixthecat8a","download_url":"https://codeload.github.com/felixthecat8a/LCD_BacklightRGB/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241587844,"owners_count":19986628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","arduino-library","lcd","lcd-backlight","rgb","rgb-backlight"],"created_at":"2024-11-13T22:23:33.647Z","updated_at":"2026-05-03T07:37:21.822Z","avatar_url":"https://github.com/felixthecat8a.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![arduino-library-badge](https://www.ardu-badge.com/badge/LCD_BacklightRGB.svg?)](https://www.ardu-badge.com/LCD_BacklightRGB)\n[![PlatformIO Registry](https://badges.registry.platformio.org/packages/felixthecat8a/library/LCD_BacklightRGB.svg)](https://registry.platformio.org/libraries/felixthecat8a/LCD_BacklightRGB)\n\n# LCD_BacklightRGB\n\n![GitHub Release](https://img.shields.io/github/v/release/felixthecat8a/LCD_BacklightRGB?logo=arduino\u0026logoColor=00878F\u0026logoSize=auto\u0026color=00878F)\n[![License: MIT](https://img.shields.io/github/license/felixthecat8a/LCD_BacklightRGB)](https://opensource.org/licenses/MIT)\n![GitHub repo size](https://img.shields.io/github/repo-size/felixthecat8a/LCD_BacklightRGB)\n![GitHub repo file or directory count](https://img.shields.io/github/directory-file-count/felixthecat8a/LCD_BacklightRGB)\n![GitHub top language](https://img.shields.io/github/languages/top/felixthecat8a/LCD_BacklightRGB)\n\n![Check Arduino](https://github.com/felixthecat8a/LCD_BacklightRGB/actions/workflows/check-arduino.yml/badge.svg)\n![Compile Examples](https://github.com/felixthecat8a/LCD_BacklightRGB/actions/workflows/compile-examples.yml/badge.svg)\n![Spell Check](https://github.com/felixthecat8a/LCD_BacklightRGB/actions/workflows/spell-check.yml/badge.svg)\n\nThis library allows interfacing with an 18-pin RGB LCD display backlight connected directly to an Arduino board. This library is meant to be used alongside the LiquidCrystal library.\n\nOn the RGB LCD display module, set pin 15 to HIGH. Pin 16 is red, pin 17 is green and pin 18 is blue. The code is based on a function that can be used to control the colors on an RGB LED.\n\n## Installation\n\n### Install via ZIP file\n1. Download the library *.zip* file from the [latest release](https://github.com/felixthecat8a/LCD_BacklightRGB/releases/latest/).\n2. In the Arduino IDE, go to `Sketch` \u003e `Include Library` \u003e `Add .ZIP Library...`.\n3. Select the downloaded *.zip* file.\n\n\n### Install via Arduino IDE Library Manager\n\n1. Open the Arduino IDE.\n2. Go to `Tools` \u003e `Manage Libraries...`.\n3. In the Library Manager, type \"LCD_BacklightRGB\" into the search bar.\n4. Find the \"LCD_BacklightRGB\" library in the list and click on it.\n5. Click the `Install` button.\n\n\n## Usage\n\n```cpp\n#include \u003cLiquidCrystal.h\u003e\n#include \u003cLCD_BacklightRGB.h\u003e\n// Set up the LiquidCrystal library\nconst int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;\nLiquidCrystal lcd(rs, en, d4, d5, d6, d7);\n// Set up the LCD_BacklightRGB library\nconst int redPin = 6, greenPin = 9, bluePin = 10;\nLCD_BacklightRGB backlight(redPin, greenPin, bluePin);\n\nvoid setup() {\n    // Initiate the LCD.\n    lcd.begin(16, 2);\n    // Initiate the RGB pins.\n    backlight.begin();\n    // Set the brightness level. (0 - 255)\n    backlight.setBrightness(130);\n    // Set the backlight using RGB values.\n    backlight.setRGB(0, 255, 0);\n}\n\nvoid loop() {\n    // Add your code here.\n}\n```\n## RGB LCD Displays\n\nHere are some of the 18-pin RGB displays that I found:\n* The Adafruit RGB LCD displays in  [backlight positive](https://www.adafruit.com/product/398) and [backlight negative](https://www.adafruit.com/product/399).\n* Sparkfun also has this one in [backlight positive](https://www.sparkfun.com/products/10862). \n* I found this one on Amazon from Winstar in [backlight negative](https://www.amazon.com/Character-Negative-Backlight-Arduino-projects/dp/B00CRSF37I)\n\n## Known Issues\n* Release v1.1.1 has an issue with setting the output values. Update to the latest release to fix the issue.\n* Release v1.1.5 and earlier releases have an issue that involves compiling to the arduino-avr-mega platform. Update to the latest release to fix the issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelixthecat8a%2Flcd_backlightrgb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelixthecat8a%2Flcd_backlightrgb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelixthecat8a%2Flcd_backlightrgb/lists"}