Output Strings in CustomVar[]

Do you have a question on how to do something.
Ask in here.
User avatar
Posts: 11
Joined: Fri Mar 18, 2016 7:49 am
PostPosted: Mon Jan 16, 2017 10:28 am
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!

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.

Return to How do I code ...

Who is online

Users browsing this forum: No registered users and 3 guests