When you program simple microcontrollers as if they were fancy computers, which can do crazy computational stuff like multiplication, you are in for some surprises. Here’s one of those surprises, plus a solution.
Continue reading On Doing Without HW MultipliersCategory Archives: Optimization
The Problem With Ints
Programming the Arduino, you’ll soon find yourself surrounded by strange data-type names, such as int, char, byte, long long, uint32_t and other oddities. What do they mean? Why are there some many of them? Which ones should you use? Let’s find out!