Hi guys,
I’m trying to use the SCK for something a bit different, a demonstration for schoolchildren with graphs and indicators updating in real time on a laptop.
What I would like to do is to get the data from the SCK through the serial connection very quickly, let’s say every 0.5-1 seconds.
As a first test, I tried reducing the TimeUpdate to 10 (seconds, I suppose) via the SET TIME UPDATE command, but still it takes roughly a minute to do the whole sequence:
SCK Waking up…
SCK Connected!!
updates = 1
Posted to Server!
Old connection active. Closing…
SCK Sleeping
Temperature: 26048 C RAW
[…]
UTC: 2014-10-22 19:15:08
What I would like to do is to skip the sleep-wake up cycle, and the server connection, and just get the serial data as fast as possible.
Can someone give me any pointers as how to modify the code to do that?
Is there a serial-only debug mode?
Which flag does enable-disable sleeping?
Which flag does enable-disable wifi communication?
Thanks!