Custom Variable Questions

Basic / Standard Reef Angel hardware
Post Reply
clw143
Posts: 118
Joined: Fri Jun 21, 2013 8:20 pm
Location: Louisiana

Custom Variable Questions

Post 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)?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Custom Variable Questions

Post by rimai »

Do you want always the same value or a different value?
Roberto.
clw143
Posts: 118
Joined: Fri Jun 21, 2013 8:20 pm
Location: Louisiana

Re: Custom Variable Questions

Post 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.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Custom Variable Questions

Post by rimai »

Just set the value on the setup() section.
Roberto.
clw143
Posts: 118
Joined: Fri Jun 21, 2013 8:20 pm
Location: Louisiana

Re: Custom Variable Questions

Post by clw143 »

Thanks.

How about the variable being able to hold more than 255?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Custom Variable Questions

Post by rimai »

Not at the moment :(
Roberto.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Custom Variable Questions

Post by lnevo »

+1
Post Reply