A simple ntp library for arduino
C++ Java C
Switch branches/tags
Nothing to show
Latest commit 137215e Jun 5, 2010 Jesse Jaggars Jesse Jaggars Making the check for sync-ness a little more comprehensive
Applying a little DRY
Permalink
Failed to load latest commit information.
examples fixing issue #1 Nov 10, 2009
.gitignore excluding more junk I don't want Apr 7, 2009
NTP.cpp Making the check for sync-ness a little more comprehensive Jun 4, 2010
NTP.h Making the check for sync-ness a little more comprehensive Jun 4, 2010
README
keywords.txt making this a git repo Apr 6, 2009

README

This library makes it easy to fetch a timestamp from an NTP timeserver. In order to use this library you will need the UDP libraries from:

http://bitbucket.org/bjoern/arduino_osc/

You will also need to modify the library to allow enough space in the buffers for the NTP packets. Open up UdpBytewise.h and change these lines:

#define UDP_TX_PACKET_MAX_SIZE 32
#define UDP_RX_PACKET_MAX_SIZE 32

to this:

#define UDP_TX_PACKET_MAX_SIZE 64
#define UDP_RX_PACKET_MAX_SIZE 64