データの保存、更新、取得ができるWebサービス「milkcocoa」に接続し、データのプッシュ、送信、取得ができるライブラリです。 https://mlkcca.com/
Dependents: MilkcocoaSample MilkcocoaSampleESP8266_LED MilkcocoaSampleESP8266 MilkcocoaSample_3G ... more
Diff: SoftSerialSendOnly/SoftSerial_Ticker.h
- Revision:
- 1:4a634c06c5dc
- Parent:
- 0:23e533c4b1ec
- Child:
- 2:9afb66979712
--- a/SoftSerialSendOnly/SoftSerial_Ticker.h Tue Dec 15 09:56:32 2015 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-//A modified version of the regular ticker/timeout libraries to allow us to do timeout without losing accuracy
-
-#ifndef FLEXTICKER_H
-#define FLEXTICKER_H
-
-#include "mbed.h"
-
-class FlexTicker: public TimerEvent {
- public:
- template<typename T>
- void attach(T* tptr, void (T::*mptr)(void)) {
- _function.attach(tptr, mptr);
- }
-
- /** Detach the function
- */
- void detach() {
- remove();
- }
-
- void setNext(int delay) {
- insert(event.timestamp + delay);
- }
-
- void prime(void) {
- event.timestamp = us_ticker_read();
- }
-
-protected:
- virtual void handler() {
- _function.call();
- }
-
- unsigned int _delay;
- FunctionPointer _function;
-};
-
-#endif
\ No newline at end of file
Milkcocoa