31855 Library fails on arduino pro micro, OK on pro mini

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
RogerBlair
 
Posts: 1
Joined: Tue Jun 23, 2015 6:54 pm

31855 Library fails on arduino pro micro, OK on pro mini

Post by RogerBlair »

I have created an application using the Adafruit 31855 library, which works fine on a pro mini, but fails with tinydebugger errors on the pro micro.
Loading an unmodified sketch with only setup, loop and the library included, the results are the same.
Various other sketches compile, load and run OK on the pro micro if the library is not included. Is the tiny debugger necessary to use the amplifier?
Have I overlooked something?

Thanks,
Roger

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: 31855 Library fails on arduino pro micro, OK on pro mini

Post by adafruit_support_mike »

The Pro Mini uses the same ATmega328 as the Arduino Uno. The Pro Micro uses the same ATmega32u4 as the Leonardo.

I know the SPI pins are different on the two microcontrollers, and they probably have different pinouts between the two devices.

Locked
Please be positive and constructive with your questions and comments.

Return to “Microcontrollers”