Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I tried to filter that short pulses before or after a real 100/200 mS pulse. In case of a POST-pulse i added a delay (time defined in DCF77.h as delayPost) and reinitialized the flankTime to millis() for simply ignoring that short pulse.
If a short PRE-Pulse is detected, there's a short delay (defined in DCF77.h as delayPre), the flankTime is reinitialized and the sensorvalue is re-readed. Maybe it should be possible to adapt the delayPre/delayPost-value "self-learning" by counting the errors and increasing that values automatically)
I changed the rPW and rCT to shorter "+" and "-".
As a second, i added the function getCEST, which returns 1, when CEST is active and 0 if CET is set (as always, this is meant for the next minute)
I added some function names for planned functions: getWeekday(), getEncWeatherData() and getAlertData().
getWeekday() should return the Weekday, getEncWeatherData should return the Encrypted MeteoTime-Weather-Data for external Decryption, getAlertData() should give back the German Civil Alert Data (not encrypted)
In SyncProvider.pde i changed Line 74 "unsigned long getDCFTime()" to "time_t getDCFTime()", because i got compilation errors on Teensy (3.1). Now it compiles both on Arduino Uno and Teensy 3.1