Hi All,
Something very basic is bugging me - no pun!
I always seem to be running out of variables.! Granted I'm not a professional code writer so perhaps not following the most ideal practices but I am used to being able to have practically as many variables as I want.
To have just B0-B13 etc is killing me.. I am playing with a DS3232 and I can easily use up all b0-b13 .. Then I'm run out. Granted, 14 variables usually seems to be enough within a subroutine but within a greater full program I seem to always want more. Perhaps I store my variables different sections of EEPROM and just load what I need for the various subroutines then store at the end again etc..?
I'm sure there must be some basic concept which I'm missing.
Thanks
Something very basic is bugging me - no pun!
I always seem to be running out of variables.! Granted I'm not a professional code writer so perhaps not following the most ideal practices but I am used to being able to have practically as many variables as I want.
To have just B0-B13 etc is killing me.. I am playing with a DS3232 and I can easily use up all b0-b13 .. Then I'm run out. Granted, 14 variables usually seems to be enough within a subroutine but within a greater full program I seem to always want more. Perhaps I store my variables different sections of EEPROM and just load what I need for the various subroutines then store at the end again etc..?
I'm sure there must be some basic concept which I'm missing.
Thanks