Time Sync with external server
Re: Time Sync with external server
ok thanks
Re: Time Sync with external server
curt is possible modify other internal memory parameters trought the browser ?
Re: Time Sync with external server
Yes, it is indeed, but the Real Time Clock (RTC) data is not within the internal memory block.
The RTC chip is the one that holds the time and keeps it up.
The controller also syncs with it periodically.
The RTC chip is the one that holds the time and keeps it up.
The controller also syncs with it periodically.
Roberto.
Re: Time Sync with external server
Yes, you most certainly can. It is slightly more complex in doing this though. You must know the location and what type of value is stored there (byte or integer). These locations are stored inside ReefAngel_Globals.h and whether it is a byte or integer.lukeluke wrote:curt is possible modify other internal memory parameters trought the browser ?
For working with Bytes:
Code: Select all
// Read the memory value
http://CONTROLLER_IP:2000/mbLOC
// LOC is the memory location
// Write the memory value
http://CONTROLLER_IP:2000/mbLOC,VAL
// there must be a comma (,) between LOC and VAL (which is the value)
Code: Select all
// Read the memory value
http://CONTROLLER_IP:2000/miLOC
// LOC is the memory location
// Write the memory value
http://CONTROLLER_IP:2000/miLOC,VAL
// there must be a comma (,) between LOC and VAL (which is the value)
curt