Press USER_BUTTON0 to light up the LED.
ボタンを押している間だけ何かしらの処理をしたいときのためのメモ用プログラム(モーメンタリ動作というらしい)
USER_BUTTON0を押している間だけLEDが光ります。
Diff: mbed_app.json
- Revision:
- 0:48ce5ea63822
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed_app.json Sun Sep 15 07:21:09 2019 +0000 @@ -0,0 +1,11 @@ +{ + "target_overrides": { + "*": { + "platform.stack-stats-enabled": true, + "platform.heap-stats-enabled": true, + "platform.cpu-stats-enabled": true, + "platform.thread-stats-enabled": true, + "platform.sys-stats-enabled": true + } + } +}