Fixed lowercase

This commit is contained in:
Kristian Lauszus 2012-04-11 02:18:35 +02:00
parent f16e348199
commit f6aef14619

View file

@ -58,7 +58,7 @@ void loop()
Serial.println(""); Serial.println("");
} }
if(BT.ButtonPressed) if(BT.buttonPressed)
{ {
Serial.print(F("PS3 Controller")); Serial.print(F("PS3 Controller"));
@ -96,7 +96,7 @@ void loop()
if(BT.getButton(L1)) if(BT.getButton(L1))
Serial.print(F(" - L1")); Serial.print(F(" - L1"));
//if(BT.getButton(L2)) //if(BT.getButton(L2))
//Serial.print(F(" - L2")); //Serial.print(F(" - L2"));
if(BT.getButton(L3)) if(BT.getButton(L3))
Serial.print(F(" - L3")); Serial.print(F(" - L3"));
if(BT.getButton(R1)) if(BT.getButton(R1))
@ -121,7 +121,7 @@ void loop()
if(BT.getAnalogButton(T_MOVE_ANALOG) > 0) { if(BT.getAnalogButton(T_MOVE_ANALOG) > 0) {
Serial.print(F("T: ")); Serial.print(F("T: "));
Serial.println(BT.getAnalogButton(T_MOVE_ANALOG), DEC); Serial.println(BT.getAnalogButton(T_MOVE_ANALOG), DEC);
} if(BT.ButtonPressed) { } if(BT.buttonPressed) {
Serial.print(F("PS3 Move Controller")); Serial.print(F("PS3 Move Controller"));
if(BT.getButton(PS_MOVE)) { if(BT.getButton(PS_MOVE)) {
@ -176,4 +176,4 @@ void loop()
Serial.println(templow); Serial.println(templow);
} }
} }
} }