Junichi Itou / Mbed 2 deprecated Motor_Temp

Dependencies:   LogibotLib mbed

Files at this revision

API Documentation at this revision

Comitter:
Jrobo
Date:
Fri Mar 03 23:13:37 2017 +0000
Commit message:
publish

Changed in this revision

LogibotLib.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LogibotLib.lib	Fri Mar 03 23:13:37 2017 +0000
@@ -0,0 +1,1 @@
+https://developer.mbed.org/users/Jrobo/code/LogibotLib/#a75357df7c88
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Mar 03 23:13:37 2017 +0000
@@ -0,0 +1,18 @@
+#include "mbed.h"
+#include "beep_sound.h"
+DigitalIn sw(PC_13);//スイッチの設定
+DigitalOut led(LED1);//ledの設定
+beep_sound sp(PB_7);//スピーカーの設定
+DigitalOut INA1(PD_2);   //モーターAの動き
+DigitalOut INA2(PC_12); //モーターAの動き
+DigitalOut INB1(PC_11); //モーターBの動き
+DigitalOut INB2(PC_10); //モーターBの動き
+PwmOut ENABLEA(PC_8);   //モーターAの速さ
+PwmOut ENABLEB(PC_9);   //モーターBの速さ
+
+int main(void)  //プログラムはここから開始
+{
+    while(1) { //無限ループ
+
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri Mar 03 23:13:37 2017 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/e1686b8d5b90
\ No newline at end of file