Hi, has anyone managed to synchronise time on Teensy 3.6 with a module DCF77?
I am using a module from pollin and I am able to get some signal from the module with this very basic test program:
But I am not able to use the longer test program on https://arduino-hannover.de/2012/06/14/dcf77-empfanger-mit-arduino-betreiben/ due to a compiler error at the interrupt routine.
"DCF Binary Stream" on http://www.hjberndt.de/soft/rtctftdcf.html does not work too.
Is there a library which is working together with teensy?
Thank you very much for some help!
I am using a module from pollin and I am able to get some signal from the module with this very basic test program:
Code:
//Funktioniert mit Teensy 3.6 und Pollin-Empfänger
#define DCF77PIN 2
#define DCF77_POWER 28
unsigned char signal = 0;
unsigned char buffer;
void setup(void) {
Serial.begin(9600);
pinMode(DCF77PIN, INPUT_PULLUP);
pinMode(DCF77_POWER, OUTPUT);
digitalWrite(DCF77_POWER, LOW);
}
void loop(void) {
signal = digitalRead(DCF77PIN);
if (buffer != signal) {
Serial.println(signal);
buffer = signal;
}
}
But I am not able to use the longer test program on https://arduino-hannover.de/2012/06/14/dcf77-empfanger-mit-arduino-betreiben/ due to a compiler error at the interrupt routine.
"DCF Binary Stream" on http://www.hjberndt.de/soft/rtctftdcf.html does not work too.
Is there a library which is working together with teensy?
Thank you very much for some help!