Fixed comment

This commit is contained in:
Kristian Lauszus 2012-10-11 21:58:19 +02:00
parent 702b07d03c
commit d68c896241

View file

@ -26,7 +26,7 @@ void loop() {
if(Wii.wiimoteConnected) { if(Wii.wiimoteConnected) {
if(Wii.getButtonClick(HOME)) { // You can use getButtonPress to see if the button is held down if(Wii.getButtonClick(HOME)) { // You can use getButtonPress to see if the button is held down
Serial.print(F("\r\nHOME")); Serial.print(F("\r\nHOME"));
Wii.disconnect(); // If you disconnect you have to reset the Arduino to establish the connection again Wii.disconnect(); // Disconnect the Wiimote - it will establish the connection again since the Wiimote automatically reconnects
} }
else { else {
if(Wii.getButtonClick(LEFT)) { if(Wii.getButtonClick(LEFT)) {