Hello world,
I recently got myself some sweet teensy41 for a project.
The main reason was that it has everything on board to build a quick data logger with timestamp.
Having good experiences in the past with TimeLib I decided to give it a go.
However, I ran into an issue:
Gives me the following error:
I can set the time using setTime just fine, it's just a hassle as I have multiple devices that I need to update every now and then.
Does setSyncProvider not work for teensy41?
I am using:
A teensy41 straight out of the box, only a micro-usb is attached
VS code
The latest version of platformIO (updated it today)
Can someone shed some light on this conundrum?
Kind regards,
inimidi
I recently got myself some sweet teensy41 for a project.
The main reason was that it has everything on board to build a quick data logger with timestamp.
Having good experiences in the past with TimeLib I decided to give it a go.
However, I ran into an issue:
Code:
setSyncProvider(getTeensy3Time);
Gives me the following error:
Code:
src/main.cpp: In function 'void setup()':
src/main.cpp:6:19: error: 'getTeensy3Time' was not declared in this scope
setSyncProvider(getTeensy3Time);
^
*** [.pio/build/teensy41/src/main.cpp.o] Error 1
I can set the time using setTime just fine, it's just a hassle as I have multiple devices that I need to update every now and then.
Does setSyncProvider not work for teensy41?
I am using:
A teensy41 straight out of the box, only a micro-usb is attached
VS code
The latest version of platformIO (updated it today)
Can someone shed some light on this conundrum?
Kind regards,
inimidi