cynshard / arduino-ntp
- Source
- Commits
- Network (2)
- Issues (1)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
d57edca
Jesse Jaggars (author)
Mon Apr 06 20:29:46 -0700 2009
commit d57edca8bceaf3d3a625ccce710e2946a43e408f
tree fbb7922c39beaae94c651a0882e89d4a58c8b500
parent f91a06f0a71ea97fab1932e839c0ed71503562f6
tree fbb7922c39beaae94c651a0882e89d4a58c8b500
parent f91a06f0a71ea97fab1932e839c0ed71503562f6
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
NTP.cpp | ||
| |
NTP.h | ||
| |
README | ||
| |
examples/ | ||
| |
keywords.txt |
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

