Skip to content

OSPUBLIC/LP50XX

 
 

Repository files navigation

EXCLUDED i2c_init AND REPLACED Wire. WITH Wire1. ...

LP50XX

Arduino LintCompile Examples

Summary

This is an Arduino library for interaction with the LP5009 and LP5012 constant current RGB driver from Texas Instrument.

Supported platforms

This library should be compatible with all Arduino-compatible board packages where an I2C bus is available

Tested boards/platorms:

  • Arduino AVR (Uno, Mega, Nano, Pro Mini, Micro etc.)
  • Arduino megaAVR boards (Nano every)
  • Adafruit SAMD (SAMD21, SAMD51)
  • MegaCoreX (ATmega4809, ATmega4808, ATmega3209, ATmega3208, ATmega1609, ATmega1608, ATmega809 and ATmega808)
  • megaTinyCore (tinyAVR 0-series, tinyAVR 1-series)
  • ESP32. The ESP32 needs around 2k2 - 2k7 resistors on the SDA and SCL pins to VCC to work

Getting started

Hardware

You can get TSSOP from digikey or mouser and handsolder it to a breakout or PCB. Currently there are no cheap eval boards available.

Breakout boards:

If more breakout boards are available please inform me to update the list.

Software

This library is made to work with the Arduino platform and the Arduino IDE.

  1. In the Arduino IDE, open the 'Sketch' menu and select 'Include Library'm then 'Manage Libraries'
  2. Search for LP50XX
  3. Select the LP50XX entry from the list
  4. Click 'Install'

Manual installation:

  1. Download the latest release source code.
  2. Unzip the compressed file.
  3. Move the LP50XX-VXXX (where VXXX is the Version number) to your libraries folder, which is located in your sketch folder. You can view open your sketch folder location by going to your Arduino IDE and selecting the 'File' menu. After this select the 'Preferences' option and another window will open. In here you can see (and set) your sketchbook location.
  4. After the manual installation, restart the Arduino IDE to apply the changes.

About

LP5009 and LP5012 arduino driver

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 91.0%
  • C 9.0%