Coder Social home page Coder Social logo

blinkled's Introduction

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.

blinkled's People

Contributors

bborncr avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

blinkled's Issues

Change Blink interval inside loop

Hey man, nice script.
Is it possible to to change the blink interval inside of the loop code, e.g. depending on changing variables?

Kindly regards
Robert

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.