A post earlier I wrote that the Script widget ignores the own refresh rate value and floods the connection with microcontroller. To overcome this trouble, I redirect the output of Script widget to some buffer cell in M memory, let's to say, to M30 of Android and planning to push the data to microcontroller on demand. I try to create a system button, which where the action set as something neutral thing, like "Select First Panel", then in "Command" section of widget I add a command, namely, on Click send command to Virtuino Server's V8 variable the content of Emulator's M30 value. On "System button" clicking nothing has been sent to controller.
In meantime for debugging purpose the content of M30 is displayed by value widget. It is proven that the data is available and updates itself automatically.
This post is the final fix of timestamp sending microcontroller subject.
Select "Botton creator widget",
"Operation": Custom Button
"Server": Virtuino server1
"Memory": Somewhat V?
"Click down": Emulator M30 (* See earlier post. This is the buffer memory where the Script widget fires the timestamp)
"Click" up: Nothing
"Long click: Nothing
In meantime for debugging purpose the content of M30 is displayed by value widget. It is proven that the data is available and updates itself automatically.
This post is the final fix of timestamp sending microcontroller subject.
Select "Botton creator widget",
"Operation": Custom Button
"Server": Virtuino server1
"Memory": Somewhat V?
"Click down": Emulator M30 (* See earlier post. This is the buffer memory where the Script widget fires the timestamp)
"Click" up: Nothing
"Long click: Nothing