mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Fixed comment
This commit is contained in:
parent
702b07d03c
commit
d68c896241
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in a new issue