Victron.Arduino-ESP8266 icon indicating copy to clipboard operation
Victron.Arduino-ESP8266 copied to clipboard

Too much RAM for Arduino

Open ortegafernando opened this issue 5 years ago • 1 comments
trafficstars

Hi, why value_bytes is 33? As it is used in an 2D array, RAM left is very poor.

Could we use as 2 bytes and save values as INTs ?

Thanks a lot for your work.

ortegafernando avatar May 03 '20 11:05 ortegafernando

Yeah, it uses char for most of it, as it needs it to read longer lines. You can convert it to int for the labels you know that will be int.

I am not maintaining this at the moment, so I highly encourage you to fork this and change it :)

Booli avatar May 03 '20 12:05 Booli