Page 1 of 1

Output Strings in CustomVar[]

Posted: Mon Jan 16, 2017 10:28 am
by CaliFSU
Hi all,

I was wondering if it's possible to output strings to the ReefAngel.CustomVar[] array?

I am using the Cloud() and SunLocation() functions and would like to use the CustomVar[] globals to output formatted times.

For example Cloud() has a line of code to store the next cloud hour and minute in ReefAngel.CustomVar[], which by default are stored as separate byte values. Would it be possible to convert and combine the "value of the hour" + ":" + "value of minute" to output something like "13:30" in a CustomVar[]?

Thank you!

[UPDATE]
Since I was intending on viewing this data on the RA app, I do not think it will be possible since the app field is probably expecting a byte value.