2017年度の製作を開始します。
Dependencies: BufferedSoftSerial2 SDFileSystem-RTOS mbed mbed-rtos INA226_ver1
Fork of keiki2016ver5 by
Diff: Cadence.h
- Branch:
- Thread????
- Revision:
- 21:8802034b7810
- Parent:
- 15:6966299bea4c
- Child:
- 26:50272431cd1e
--- a/Cadence.h Sat Dec 17 09:12:39 2016 +0000 +++ b/Cadence.h Fri Jan 06 11:41:32 2017 +0000 @@ -4,7 +4,7 @@ #include "mbed.h" #include <string> -class Cadence : public Serial{ +class Cadence : public RawSerial{ private: static const int DATAS_NUM = 75; @@ -16,7 +16,7 @@ string strData; int data_count, data_num; double cadence, voltage; - Cadence(PinName tx, PinName rx, const char* name = NULL) : Serial(tx, rx, NULL){ + Cadence(PinName tx, PinName rx, const char* name = NULL) : RawSerial(tx, rx){ for(int i=0;i<DATAS_NUM;i++) data[i]= NULL; data_num=0; data_count=0;