i am messing arround with the HTML Variable Example. I would like to add some of my own variables into the example.
When i change this line:
System tick count: <!--VARIABLE TimeTick/TICKS_PER_SECOND --> seconds
in the index.htm file to:
System tick count: <!--VARIABLE TimeTick --> seconds
It reports corectly, but if i add a new variable like this:
System tick count: <!--VARIABLE tempx --> seconds
I get "error: 'tempx' was not declared in this scope", i have tried defining it as a global variable outside of main, and also tried to place it in the .h files with no luck.
Anyone go any ideas how to acomplish this ?
HTML Variable Example, Question
Re: HTML Variable Example, Question
Did you add the variable to the htmlvar.h file?
Re: HTML Variable Example, Question
Yes i did, i cant explain it, but when i got home and tried the same thing again it worked just fine.