protegemed, aquisição via A/D simples utilizando interrupção do timer
Dependencies: EthernetInterface NTPClient mbed-rtos mbed
Fork of ptgm_semDMA by
Diff: Headers/ntpc.h
- Revision:
- 0:fac116e94d44
diff -r 000000000000 -r fac116e94d44 Headers/ntpc.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Headers/ntpc.h Tue Jan 05 11:47:35 2016 +0000 @@ -0,0 +1,20 @@ +#include "mbed.h" +#include "rtos.h" + +#include "EthernetInterface.h" +#include "NTPClient.h" + +static NTPClient ntpClient; + +class ntpc +{ + +protected: + + static void ntpcDo(); + +public: + + static void ntpc_Thread(void const* arg); + +};