24日間連続してカウントするタイマークラスです。クラスの実装が公開されていないので理由は不明ですが、mbed標準のTimerクラスは2148秒までしかカウントしてくれません。そのため、せめてArduinoと同等のカウントが可能なように作成しました。
Diff: TimerExtended.h
- Revision:
- 1:2441ccdcd627
- Parent:
- 0:764aaee2b395
--- a/TimerExtended.h Tue Jul 15 04:47:11 2014 +0000 +++ b/TimerExtended.h Tue Jul 15 05:12:54 2014 +0000 @@ -1,3 +1,9 @@ +/*************************************** +TimerExtended +Purpose: you can use timer untill 24 days in milli seconds. +Author: Katsuhiro Morishita @2014 +License: apache license 2, or MIT, which you like +****************************************/ #include "mbed.h"