While working on my Arduino magnet levitation (details here), I stumped upon some problems with the way the compiler, AVR GCC, handles multiplication. I had to implement optimized multibyte multiplication routines because Arduino in my project preforms some digital signal processing with 20kHz sampling frequency. Since I couldn’t find those routines online, I’m posting the code of some of them here I posted the code on GitHub at https://github.com/rekka/avrmultiplication.
Posts Tagged ‘16bit’
Arduino – AVR GCC multiplication
Posted in Arduino, AVR, tagged 16bit, 32bit, Arduino, AVR, AVR GCC, multiplication on March 18, 2009| 4 Comments »