Arduino 10LED Cylon Sketch (Version 2)

[featured_image]
Download
Download is available until [expire_date]
  • Version
  • Download 731
  • File Size 0.46 KB
  • File Count 1
  • Create Date February 7, 2012
  • Last Updated December 23, 201

10LED Sketch (Version 2)

A simple sketch for the that performs a cylon / 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 effect which can be removed easily.

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

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.