Wednesday, May 20, 2009

Illuminato Core Updates: PWM

Thanks to Illuminato updates from Tim, there's core support for Pulse Width Modulation (PWM) using the analogWrite(pin, duty) function. Mike was performing hardware tests on one of the scopes.

Pins 16, 17, and 42 are connected to hardware timer PWM blocks, now controllable in software.

This makes it easier to control motors, set analog voltage levels on RC networks, or even control the mysterious Pin 42 bling() LEDs with greater precision and ease than software delay loops.

The latest core updates can be had by downloading and installing the Antipasto Arduino IDE v0.8.8 (or greater).

No comments: