Teensy 4.1 NTP Server Example

Status
Not open for further replies.

jimmie

Well-known member
I am trying to use the NTP example of the Teensy time library with a Teensy 4.1.

I changed the libraries to:

Code:
#include <TimeLib.h>
#include <NativeEthernet.h>
#include <NativeEthernetUdp.h>
#include <SPI.h>


The Tensy 4.1 gets an IP address, however, it never syncs with any time server and I have tried all of them! The request comes back with "No NTP Response :-(".

I also looked online for a single NTP example for the Teensy 4.1 but could not find any. On Github, there are a couple of NTP libraries but those require patches in a few libraries which I am reluctant to do.

What else should I try?
 
The three IPs in the TimeNTP example in the Time library examples all return no response for me, too. This one worked:

Code:
IPAddress timeServer(132, 163, 96, 2); // time.nist.gov
 
Status
Not open for further replies.
Back
Top