Forgot your password?

+ - How to enable 16-bit PWM output on Arduino Leonardo->

Submitted by
Gibbs-Duhem writes "This tutorial has extensively commented code explaining how to configure the registers on the Arduino Leonardo to do 16-bit and 10-bit PWM outputs in hardware. It's directly written for the SaikoLED MyKi LED Light, but it's based on the Arduino Leonardo, so the same code will work for both. With 16-bit PWM output you have a lot of cool new options like arbitrary scaling functions to map an 8-bit value onto a different function, or to allow much dimmer LED light outputs. An example video showing red and blue LEDs side by side with 8-bit versus 16-bit PWM is shown here."
Link to Original Source
This discussion was created for logged-in users only, but now has been archived. No new comments can be posted.

How to enable 16-bit PWM output on Arduino Leonardo

Comments Filter:

System checkpoint complete.