Constantin
Well-known member
I read over at Adafruit about the space requirements for various variables, including booleans. It appears that on the AVR platform, they always consume a byte of memory. (And here I thought that booleans take up less space and hence used them as much as I could)
Are booleans treated similarly re SRAM needs on the Teensy 3? Does the answer change if you were to use an array of them?
Also, since the Teensy 3 lacks a dedicated FPU, I have tried to use integer math as much as possible. But floating points do creep in here and there... So I also want to confirm that the Teensy 3 double is in fact differentiated from a float, unlike on the Arduino platform?
Are booleans treated similarly re SRAM needs on the Teensy 3? Does the answer change if you were to use an array of them?
Also, since the Teensy 3 lacks a dedicated FPU, I have tried to use integer math as much as possible. But floating points do creep in here and there... So I also want to confirm that the Teensy 3 double is in fact differentiated from a float, unlike on the Arduino platform?