Internet time sync


#1

how to send internet time to my ardino


#2

Hi @HamnaBazmi,

Here is some example code for a simple NTP client on Arduino: http://playground.arduino.cc/Code/NTPclient

or if you don’t need sub-second accuracy you can do this with less memory footprint by stripping it from the HTTP response from a web server: http://playground.arduino.cc/Code/Webclient

Either option should ultimately get you a time value in a variable that you can display or use in other code.


#3

Hi
want to get a url of http link so by that link i may b able to toggle the button on the dashboard from my own android app
I am using mqtt and is not avaiable in android and link is also required for my webpage