Bug in example code

Just want to hang out with other Makers and chat about stuff? This is the place to do it.
Post Reply
MadEngineer
Posts: 1
Joined: Thu Feb 27, 2014 6:34 am

Bug in example code

Post by MadEngineer » Thu Feb 27, 2014 6:48 am

"Project 2: Controlling 8 LEDs Example 1" works fine, however Example 2 has a bug where it doesn't illuminate the final LED in the sequence, being the 2nd LED (sequence is first LED -> Last then back to the 2nd, where the loop restarts back at the first)

Setting ledCount to 15 allows it to run back and forward through all LEDs

andrew
Freetronics Staff
Freetronics Staff
Posts: 978
Joined: Sun Jul 14, 2013 7:06 am
Location: Melbourne, Australia
Contact:

Re: Bug in example code

Post by andrew » Thu Feb 27, 2014 7:57 am

Thanks for that.
Could you please tell me which revision of the guide you have?
It will be on the first page.
thanks
John

Post Reply