Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 |
--- 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() {