5 years, 1 month ago.

how to set the time from the serial terminal on power on

please advise of how i can set the time from the serial terminal on power on? which program to use?

Question relating to:

This program allows the user to set the time from the serial terminal on power on. Thereafter the clock will run as the real time clock. The user is able ...

1 Answer

5 years, 1 month ago.

Just import the whole repository to your compiler and program the board.

Then use the serial terminal next to the ethernet connector. Open the serial interface (I used tera term) on the PC and check if you get a Com port as the "mbed virtual serial device". Select that com port. Then just press any key and enter. You will get a prompt "Enter hours". Enter the hours and enter. Similarly you can enter mins and seconds.

Accepted Answer

Many thanks, Bhakti, i used tera term and got to com port of mbed virtual serial device, but after key in for hh and mm, i couldn't see number of hh and mm key-in on terminal, but it did change number on LCD screen, please advise of what went wrong?

posted by virapong chongpatiyutt 08 Dec 2014

Have you set the local echo on the serial terminal? I f not just go to setup - terminal and check the local echo box...

posted by Bhakti Kulkarni 08 Dec 2014