Downloads

Arduino 10LED Cylon Sketch « Arduino Projects « Downloads

AttributeValue
Version2
Date postedFebruary 7, 2012
Downloaded400 times
CategoriesArduino Projects
Tagsarduino, cylon, sketch

Description

A simple sketch for the arduino that performs a cylon / night rider effect over 10 pins, utilising software based PWM to get around the 6 x PWM limit of the ATMega328

Note: their is an if / else function in this code that initially lights all 10 LEDs for 5 seconds before starting the cylon effect which can be removed easily.

Please note: you will need the SoftPWM.h library to use this sketch.