Source Code Robot Lama

Dependencies:   DigitDisplay Motor PID Ping mbed millis

Fork of DagonFly__RoadToJapan_15Mei_Ultimate by KRAI 2017

Revision:
51:df6391c3fa68
Parent:
46:85169ae8659b
--- a/PS3Arduino.txt	Mon May 15 07:08:30 2017 +0000
+++ b/PS3Arduino.txt	Mon May 15 07:49:13 2017 +0000
@@ -45,7 +45,7 @@
 boolean START_click=0, SELECT_click=0, PS_click=0;
  
 // Deklarasi variabel tombol analog
-unsigned char LX, LY, RX, RY, aL2, aR2;
+unsigned char LX, LY, RX, RY, aL2, aR2, aL3;
  
 // Deklarasi varibel data yang dikirim
 unsigned char button;
@@ -286,8 +286,8 @@
         
         aL2 = PS3.getAnalogButton(L2);
         aR2 = PS3.getAnalogButton(R2);
-            
-                kirimdatajoystik();
+        
+        kirimdatajoystik();
     } else {
         // PS3 Disconnected
         Serial.write(0x88);