Hi Team
Have a nice day
Please delete this post if it is illegal’s question
The following codes are sourced from the <orangutanModel.h> library within the libpololu-arduino library. Upon inspection, it does not reference the Atmega328p microcontroller, despite the library being used for the 3pi robot, which employs the Atmega328p microcontroller. We are currently investigating how to adapt this library for use with the Arduino Mega which will be help us to get rid of pin limitation of Arduino Uno
#undef _ORANGUTAN_X2 // Orangutan X2
#undef _ORANGUTAN_SVP // Orangutan SVP-324 or 1284
#undef _ORANGUTAN_XX4 // Either the X2, SVP-324, or SVP-1284.
#if defined(__AVR_ATmega644__) || defined(__AVR_ATmega644P__) || defined(_X2_1284)
#define _ORANGUTAN_X2
#elif defined(__AVR_ATmega324P__) || defined(__AVR_ATmega1284P__) || defined(__AVR_ATmega324PA__) || defined(__AVR_ATmega1284PA__)
#define _ORANGUTAN_SVP
#endif
#if defined(_ORANGUTAN_SVP) || defined(_ORANGUTAN_X2)
#define _ORANGUTAN_XX4
#endif
3 posts - 2 participants