Hi all.
I'm moving from using an Uno to a Mega 2560 for a project as I need more RAM. I'm using a number of libraries, all of which are Uno-orientated.
As the Mega has all the same functions as the Uno, along with a lot more, is there either a tool or a pattern available to remap a series of libraries to hand things like different pin-outs etc?
Many thanks
Steve
Arduino Uno -> MEGA library convertor?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88096
- Joined: Sat Feb 07, 2009 10:11 am
Re: Arduino Uno -> MEGA library convertor?
That depends on the library. Many libraries require no changes. Many others already have built-in MEGA support. There is a compile-time symbol that identifies the processor type, so sections of code can be conditionally compiled.
Please be positive and constructive with your questions and comments.