thijse/Arduino-Libraries — pull request #11 by Goldspielzeug (2014-05-20 21:57:51+00:00)
Title: Filtering short pulses

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