The library includes an example called "TimeSerial". This program lets you send it the number of seconds since January 1st 1970 using the serial connection. It then decodes the message and uses it to set the microcontrollers time which it then continues to keep.
To send the special message to the Arduino using MegunoLink Pro, add a connection manager, monitor, and interface panel. In the interface panel add a button and configure it to send the following message:
Code: Select all
T[Math.Round(DateTime.Now.Subtract(new DateTime(1970,1,1,0,0,0)).TotalSeconds)]
Give me a yell here if you have any questions. I'll also organise an example of this to go in to the next version of the MegunoLink library.