From f6aef1461963e2508606996cbfb76c332bce2128 Mon Sep 17 00:00:00 2001 From: Kristian Lauszus Date: Wed, 11 Apr 2012 02:18:35 +0200 Subject: [PATCH] Fixed lowercase --- examples/PS3BT/PS3BT.ino | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/PS3BT/PS3BT.ino b/examples/PS3BT/PS3BT.ino index ba8179ce..f82df2f6 100644 --- a/examples/PS3BT/PS3BT.ino +++ b/examples/PS3BT/PS3BT.ino @@ -58,7 +58,7 @@ void loop() Serial.println(""); } - if(BT.ButtonPressed) + if(BT.buttonPressed) { Serial.print(F("PS3 Controller")); @@ -96,7 +96,7 @@ void loop() if(BT.getButton(L1)) Serial.print(F(" - L1")); //if(BT.getButton(L2)) - //Serial.print(F(" - L2")); + //Serial.print(F(" - L2")); if(BT.getButton(L3)) Serial.print(F(" - L3")); if(BT.getButton(R1)) @@ -121,7 +121,7 @@ void loop() if(BT.getAnalogButton(T_MOVE_ANALOG) > 0) { Serial.print(F("T: ")); Serial.println(BT.getAnalogButton(T_MOVE_ANALOG), DEC); - } if(BT.ButtonPressed) { + } if(BT.buttonPressed) { Serial.print(F("PS3 Move Controller")); if(BT.getButton(PS_MOVE)) { @@ -176,4 +176,4 @@ void loop() Serial.println(templow); } } -} \ No newline at end of file +}