uint8_t型とunsigned char型に対応した多バイトシリアル通信用ライブラリ
Dependents: multiserial_test serial_check_controller receiverA receiver_transmitter ... more
Revision 10:ce09c92e33b4, committed 2014-09-03
- Comitter:
- Hatter
- Date:
- Wed Sep 03 08:48:44 2014 +0000
- Parent:
- 9:26262b75f40b
- Child:
- 12:5539a5dcdeff
- Commit message:
- typo
Changed in this revision
MultiSerial.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/MultiSerial.h Tue Sep 02 06:49:44 2014 +0000 +++ b/MultiSerial.h Wed Sep 03 08:48:44 2014 +0000 @@ -43,7 +43,7 @@ * @endcode */ - typedef enum dit_state{ + typedef enum { write, read, both @@ -61,7 +61,7 @@ * @param state 通信方向 read,write,both */ - MultiSerial(PinName tx,PinName rx,dit_state state=both); + MultiSerial(PinName tx,PinName rx,dir_state state=both); /**データ読み込みするよ *