Internet time sync

how to send internet time to my ardino

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: Arduino Playground - HomePage

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

2 Likes

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