主導機 mbed用のプログラムです

Dependencies:   mbed

Fork of F3RC_syudou_master by F3RC1班

Revision:
14:5c92c3c78290
Parent:
13:3d7a8cb91eeb
Child:
15:c5258a4dee75
--- a/User.cpp	Fri Apr 21 04:39:50 2017 +0000
+++ b/User.cpp	Fri Apr 21 04:43:43 2017 +0000
@@ -9,7 +9,7 @@
 int RSX,RSY,LSX,LSY,BSU,BSL;
 //これより下に関数外に書く要素を記入する
 PwmOut led1(LED1);
-//PwmOut led2(LED2);
+PwmOut led2(LED2);
 DigitalOut led2(LED2);
 DigitalOut led3(LED3);
 DigitalOut led4(LED4);
@@ -52,10 +52,10 @@
     
    
         
-    //led1=LSX/256.0f;
-    //led2=LSY/256.0f;
-    //led3=ButtonState & 0x0400;  //L1の状態
-    //led4=ButtonState & 0x0800;  //R1の状態
+    led1=LSX/256.0f;
+    led2=LSY/256.0f;
+    led3=ButtonState & 0x0400;  //L1の状態
+    led4=ButtonState & 0x0800;  //R1の状態
     //値の取得はps3.hを参照
         
 }
\ No newline at end of file