Blog

Arduino Smarduino: Mega 32u4 Woes

We’re so close to getting Prototype 2 up and running! Yet at the same time, we’re so far away…

We’ve run into a little bit of a road block - we’re using Sparkfun’s Arduino Pro Micro which uses the Mega 32u4. It’s convenient as it enables a micro USB port to be soldered directly on the board thus enabling us to eschew the FTDI USB connector. However it also means that we cannot use the same code we used on the Uno on the Pro Micro. I mean, why did they choose to get rid of pins 11-13 and keep 14-17? Then again, I’m not an expert in these kinds of things anyways.

Our roadblock now is the hardware interrupt, or lack thereof. We need interrupts to calculate the RPM of the wheels to determine the LED color, but the Pro Micro, to the best of my knowledge, doesn’t have it enabled. If any of yalls know what I’m doing wrong, help would be greatly appreciated. We’re so close. Exciting things are at hand!