Skip to content

eacandelas/rgbLed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rgbLed arduino library

A simple library to use rgb leds as objects.

Init library by:

rgbLed rgb;

Set pins with, pins need to have pwm:

rgb.begin(pinR, pinG, pinB)

Start values by passing the R, G , B values using (0 to 255):

rgb.setValues(R,G,B)

Write the values to the pins with:

rgb.update()

Turn off leds:

rgb.off()

Make led flash multiple times by using:

rgb.flash(times)

set times to the number of flashing sequired.

Wrote by: Eden Candelas, Hackerspace Monterrey.

About

Arduino library for using rgb leds.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages