Menu

System Variables Documentation

joe rocci
2015-03-30
2015-03-30
  • joe rocci

    joe rocci - 2015-03-30

    In looking at the libraries, I see that the advanced GCB programmers make generous use of system variables that look like "SysTempxxx" or similar. Is there anything written about these system variables and how to use/re-use them for better/more efficient code?

    Joe

     
  • Anobium

    Anobium - 2015-03-30

    Nothing documented to my knowledge. You have to very careful reusing system variables. But, this is on my list.

    A good guide/practice is the real time clock device drivers. DS1307.h uses, from memory, nine bytes.

     
    • joe rocci

      joe rocci - 2015-03-30

      The other good use for some minimum level of documentation would be to avoid variable naming conflicts.

       

      Last edit: Anobium 2015-03-30
  • Anobium

    Anobium - 2015-03-30

    Until I have this documented, my advice would be not to re-use system variables. They are public and could be deprecated or renamed at any time.

    Anobium

     

Log in to post a comment.