![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
humikiri(railway crossing)
Revision 1:06a94cf9d98a, committed 2021-06-14
- Comitter:
- kohacraft
- Date:
- Mon Jun 14 09:47:36 2021 +0000
- Parent:
- 0:7930f6daf302
- Commit message:
- change LED2 pin
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 7930f6daf302 -r 06a94cf9d98a main.cpp --- a/main.cpp Mon Jul 20 02:54:30 2015 +0000 +++ b/main.cpp Mon Jun 14 09:47:36 2021 +0000 @@ -5,7 +5,7 @@ DigitalOut sp(dp1); //スピーカーをつなぐピンを出力に設定 DigitalIn sw(dp2); //スイッチをつなぐピンを入力に設定 DigitalOut led1(dp14); //LED1をつなぐピンを出力に設定 -DigitalOut led2(dp28); //LED2をつなぐピンを出力に設定 +DigitalOut led2(dp18); //LED2をつなぐピンを出力に設定 int main() {