I'm starting two new projects and I have a dilema... ATMega328 seems to small (flash and ram size) and ATMega2560 seems too big (pin count).
Is there any middle point? Moreover, is there a list of MCUs with full compatibility with existng libraries? Lets say TFT, SD, Wire, DHT, NewPing, etc.
I'm not completly insterested in compatibility with Arduino Bootloder (or Optiboot) because I will program them using ICSP, but I'd like to use the already available libraries. Which leads me to another question, why a Library wouldn't be compatible if they are written in C/C++?
I know they are a couple of question, but some way they are all related, so I think it would be better to have them all answered in one place if it helps someone else.
To sum up: 1- Is there an Arduino Compatible MCU between ATMega328 and ATMega2560?
2- Is there a list of Compatible MCUs? I've looked here, but it's from more than 4years ago.
3- Why a library wouldn't be compatible if it's written in C/C++?
Thank you very much for your help!