シリアル通信でボタンの状態を確認する。
Dependencies: mbed
Revision 2:8c96a6f1fd6b, committed 2015-08-28
- Comitter:
- spyglass77
- Date:
- Fri Aug 28 03:43:45 2015 +0000
- Parent:
- 1:b16e040b047b
- Commit message:
- comit title ,example_02ex_serial.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Aug 27 13:32:40 2015 +0000 +++ b/main.cpp Fri Aug 28 03:43:45 2015 +0000 @@ -1,4 +1,4 @@ -//example_02_button +//example_02ex_serial //ボタンを押すとスピーカーを鳴らすサンプルコード #include "mbed.h"