Skip to content

An Arduino library that creates blinking and breathing leds

Notifications You must be signed in to change notification settings

bborncr/BlinkLed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlinkLed

The main goal of this project was to learn how to create an Arduino library.

BlinkLed creates a led object that can be turned on and off within a sketch and the library takes care of the blinking or breathing in the background. This is basically the Arduino BlinkWithoutDelay tutorial made into a library with breathing added. A sine wave function is used to create the breathing pattern. Implementing the BlinkWithoutDelay code for several leds at once gets messy very quickly with all the different variables that are needed. This library makes the process easier and neater.

To install, download the .zip file: https://github.com/bborncr/BlinkLed/archive/master.zip and rename the BlinkLed-master folder to BlinkLed. Move the BlinkLed folder to your Arduino/libraries folder and restart the Arduino IDE. This library should work for Arduino IDE v1.0 and newer.

About

An Arduino library that creates blinking and breathing leds

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages