A detailed tutorial on speeding up AVR division

fixedpoint

[Alan Burlison] is working on an Arduino project with an accelerometer and a few LEDs. Having the LEDs light up as his board is tilted to one side or another is an easy enough project a computer cowboy could whip out in an hour, but [Alan] - ever the perfectionist - decided to optimize his code so his accelerometer-controlled LEDs don't jitter. The result is a spectacular blog post chronicling … [Read more...]