Main Site Documentation

LED7R Module Tip


#1

Quick heads-up for anyone using the LED7R module (which is totally awesome, BTW, and if you don’t have one you should get one. They’re cheap, and did I mention SEVEN LEDS!?!?).

It appears, from my testing, that the Animate method the module exposes is a blocking call. So be aware that if, as I did, you call Animate directly within a timer, your timer will not fire again until the Animate method has completed.

Made for some really weird behavior, as I was basing the speed of the animation on the value of the Potentiometer module, so the speed with which the timer was ticking seemed to be being controlled by the pot.

Anyway, hopefully that might save a person or two from some head-scratching. :slight_smile: