Hi all,
I'm a bit doubtful, if my menu programming is going the right way.
Everything is working fine, but after implementing 10 different screens, I already use ~8500 bytes of Flash.
I have a state machine for the menus and for every menu special button handling which does the right thing for the menu (e.g. scrolling through the settings; switching through the hours minutes, day, month, year position; change password; having a nice startup screen; blablabla yadayadayada...)
The thing is, I'm not finding a "more Flash saving" way to do this, because using an LCD, every screen needs specific button handling and specific position calculation to write to the correct position on the LCD and do the correct value changes to my variables.
Is the amount of Flash which is allready used normal?
Is there a better way to do this?
Which saves a lot of Flash space?
Thanks in advance.
Regards,
Baldrian