アナログ入力のサンプルプログラム
Dependencies: mbed
Revision 2:d422f25a5807, committed 2019-07-30
- Comitter:
- GGU
- Date:
- Tue Jul 30 04:07:44 2019 +0000
- Parent:
- 1:449ca2acc981
- Commit message:
- test;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 449ca2acc981 -r d422f25a5807 main.cpp --- a/main.cpp Mon Jul 29 04:20:14 2019 +0000 +++ b/main.cpp Tue Jul 30 04:07:44 2019 +0000 @@ -1,3 +1,4 @@ +//可変抵抗を使用し、条件によってLEDの点灯消灯する #include "mbed.h" AnalogIn ain(A1);