nucleoの基本制御を行うためのひな型です

Dependencies:   LogibotLib mbed

Files at this revision

API Documentation at this revision

Comitter:
Jrobo
Date:
Fri Mar 03 21:14:36 2017 +0000
Parent:
0:6a5e2efcf3c1
Commit message:
update

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Mar 03 20:38:37 2017 +0000
+++ b/main.cpp	Fri Mar 03 21:14:36 2017 +0000
@@ -1,8 +1,11 @@
 #include "mbed.h"
- #include "beep_sound.h"
+#include "beep_sound.h"
 DigitalIn sw(PC_13);//スイッチの設定
 DigitalOut led(LED1);//ledの設定
 beep_sound sp(PB_7);//スピーカーの設定
-int main(void) {//プログラムはここから開始
-   
+int main(void)  //プログラムはここから開始
+{
+    while(1) { //無限ループ
+
+    }
 }