Awesome Open Source
Awesome Open Source

MY92XX LED driver library for Arduino AVR and ESP8266

Arduino library for the Taiwan Mingyang (MY-Semi) MY9291 and MY9231 LED drivers. Based in the C driver by Maike Labs, included in the Noduino SDK.

version travis codacy license
donate twitter

Tested with Arduino Core for ESP8266.


A simple example, turning the red LEDs on.

#include <my92xx.h>

#define MY92XX_MODEL    MY92XX_MODEL_MY9291     // The MY9291 is a 4-channel driver, usually for RGBW lights
#define MY92XX_CHIPS    1                       // No daisy-chain
#define MY92XX_DI_PIN   13                      // DI GPIO
#define MY92XX_DCKI_PIN 15                      // DCKI GPIO


void setup() {
    _my92xx.setChannel(0, 255); // assume channel 0 is RED

void loop() {}

For more in-depth examples please check the examples folder.


Copyright (C) 2016-2018 by Xose Pérez

The my92xx library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

The my92xx library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with the my92xx library. If not, see

Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
C Plus Plus (241,813
Arduino (30,783
Driver (18,421
Led (9,338
Esp (8,403
Esp8266 (4,955
Avr (2,477