Skip to content

Arduino library for the full color RGB LED strip driver module shield

License

Notifications You must be signed in to change notification settings

MrKrabat/LED-Strip-Driver-Module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Full Color RGB LED Strip Driver Module Shield for Arduino

This library is made for this kind of modules RGB LED Strip Driver Module Shield

Do not connect 12V to the driver module while your Arduino is connected to your PC!

Example usage:

#include <LEDStripDriver.h>

// use two available GPIO pins from your board
// DIN=GPIO16, CIN=GPIO14 in this example
LEDStripDriver led = LEDStripDriver(16, 14);

void setup() {
  // put your setup code here, to run once:
}

void loop() {
  // put your main code here, to run repeatedly:
  led.setColor(255, 0, 0); // RGB
  delay(1000);
  led.setColor("#00FF00"); // String
  delay(1000);
  led.setColor(0x0000FF); // HEX
  delay(1000);
  led.setColor(); // turn off
  delay(1000);
}

About

Arduino library for the full color RGB LED strip driver module shield

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages