Defragster / OLEDPRO

OLED for digistump Pro
0 stars 1 forks source link

OLED on PRO Not so robust? #2

Open Defragster opened 10 years ago

Defragster commented 10 years ago

I thought I got rid of the DOT field by making a correction - it turns out it was just making a global variable assigned in the Library LED class and then referencing and printing that value. If I take that out now the DOT field returns in the PRO. Even if left in but not printed!

Doing a compare the UNO build is 2.5K larger than the PRO build - due to the alternate wire library and hardware in use - but somewhere it seems that may have some edge case. This is probably tied into the right margin column garbage.

If I can fiddle some more I'll confirm this. I'll upload it removed and then the DIFF will show what I mean.

UNO:: Sketch uses 12,810 bytes (39%) of program SS. Maximum is 32,256 bytes. UNO:: Global variables use 510 bytes (24%) of dynamic memory, leaving 1,538 bytes for local variables. Maximum is 2,048 bytes.

PRO: Sketch uses 10,378 bytes (69%) of program SS. Maximum is 14,844 bytes. PRO: Global variables use 362 bytes of dynamic memory [this is with DEBUG test padding toward the failure limit].