Help debugging simple atoi function

Thomas499: is there a way to get all of this out of the SRAM though? like a f()macro or something?

No, all of those things are changing. We are putting characters into the array and the other variables are being updated. You can only put things in progmem when they are guaranteed to never ever change. There's no writing to progmem at runtime.

Ok, so options are very limited then. I don't really know the difference internal and external SRAM, but would This upgrade trick the arduino into thinking it has 5 times the amount of SRAM that came with it? It talks about RAM and SRAM and switching banks, but I don't know if the switching would allow me to use it as SRAM...

Thomas499:
Ok, so options are very limited then. I don’t really know the difference internal and external SRAM, but would This upgrade trick the arduino into thinking it has 5 times the amount of SRAM that came with it? It talks about RAM and SRAM and switching banks, but I don’t know if the switching would allow me to use it as SRAM…

That thing only works with a Mega. The UNO isn’t capable of using it.

What’s running you out of SRAM? Maybe we can save some bytes somewhere else.