Page 1 of 1

Custom Variable Questions

Posted: Thu Sep 10, 2015 11:56 am
by clw143
1). How can I set the initial value of a custom variable so it is not changed to 0 during a reset?

2). Is there a way to get the Custom Variable location to hold/display on the app a value higher than a byte (255)?

Re: Custom Variable Questions

Posted: Thu Sep 10, 2015 12:07 pm
by rimai
Do you want always the same value or a different value?

Re: Custom Variable Questions

Posted: Thu Sep 10, 2015 12:15 pm
by clw143
At reset it would just default to a set value instead of 0. I then would be able to change it as needed.

Re: Custom Variable Questions

Posted: Thu Sep 10, 2015 12:40 pm
by rimai
Just set the value on the setup() section.

Re: Custom Variable Questions

Posted: Thu Sep 10, 2015 1:07 pm
by clw143
Thanks.

How about the variable being able to hold more than 255?

Re: Custom Variable Questions

Posted: Thu Sep 10, 2015 3:52 pm
by rimai
Not at the moment :(

Re: Custom Variable Questions

Posted: Thu Sep 10, 2015 6:30 pm
by lnevo
+1