diff --git a/examples/Bluetooth/PS3BT/PS3BT.ino b/examples/Bluetooth/PS3BT/PS3BT.ino index c63fbdcd..f8b13ad7 100644 --- a/examples/Bluetooth/PS3BT/PS3BT.ino +++ b/examples/Bluetooth/PS3BT/PS3BT.ino @@ -8,7 +8,8 @@ #include USB Usb; -USBHub Hub1(&Usb); // Some dongles have a hub inside +//USBHub Hub1(&Usb); // Some dongles have a hub inside + BTD Btd(&Usb); // You have to create the Bluetooth Dongle instance like so /* You can create the instance of the class in two ways */ PS3BT PS3(&Btd); // This will just create the instance diff --git a/examples/Bluetooth/PS3Multi/PS3Multi.ino b/examples/Bluetooth/PS3Multi/PS3Multi.ino index dcb0b8e7..d7ec631c 100644 --- a/examples/Bluetooth/PS3Multi/PS3Multi.ino +++ b/examples/Bluetooth/PS3Multi/PS3Multi.ino @@ -9,7 +9,8 @@ #include USB Usb; -USBHub Hub1(&Usb); // Some dongles have a hub inside +//USBHub Hub1(&Usb); // Some dongles have a hub inside + BTD Btd(&Usb); // You have to create the Bluetooth Dongle instance like so PS3BT *PS3[2]; // We will use this pointer to store the two instance, you can easily make it larger if you like, but it will use a lot of RAM! const uint8_t length = sizeof(PS3) / sizeof(PS3[0]); // Get the lenght of the array diff --git a/examples/Bluetooth/PS3SPP/PS3SPP.ino b/examples/Bluetooth/PS3SPP/PS3SPP.ino index edebdc61..214ce26a 100644 --- a/examples/Bluetooth/PS3SPP/PS3SPP.ino +++ b/examples/Bluetooth/PS3SPP/PS3SPP.ino @@ -14,7 +14,8 @@ #include USB Usb; -USBHub Hub1(&Usb); // Some dongles have a hub inside +//USBHub Hub1(&Usb); // Some dongles have a hub inside + BTD Btd(&Usb); // You have to create the Bluetooth Dongle instance like so /* You can create the instances of the bluetooth services in two ways */ diff --git a/examples/Bluetooth/SPP/SPP.ino b/examples/Bluetooth/SPP/SPP.ino index 8ac79a45..e5b92089 100644 --- a/examples/Bluetooth/SPP/SPP.ino +++ b/examples/Bluetooth/SPP/SPP.ino @@ -8,7 +8,8 @@ #include USB Usb; -USBHub Hub1(&Usb); // Some dongles have a hub inside +//USBHub Hub1(&Usb); // Some dongles have a hub inside + BTD Btd(&Usb); // You have to create the Bluetooth Dongle instance like so /* You can create the instance of the class in two ways */ SPP SerialBT(&Btd); // This will set the name to the defaults: "Arduino" and the pin to "1234" diff --git a/examples/Bluetooth/SPPMulti/SPPMulti.ino b/examples/Bluetooth/SPPMulti/SPPMulti.ino index c846b1a1..af32fd85 100644 --- a/examples/Bluetooth/SPPMulti/SPPMulti.ino +++ b/examples/Bluetooth/SPPMulti/SPPMulti.ino @@ -8,7 +8,8 @@ #include USB Usb; -USBHub Hub1(&Usb); // Some dongles have a hub inside +//USBHub Hub1(&Usb); // Some dongles have a hub inside + BTD Btd(&Usb); // You have to create the Bluetooth Dongle instance like so SPP *SerialBT[2]; // We will use this pointer to store the two instance, you can easily make it larger if you like, but it will use a lot of RAM! const uint8_t length = sizeof(SerialBT) / sizeof(SerialBT[0]); // Get the lenght of the array diff --git a/examples/Bluetooth/Wii/Wii.ino b/examples/Bluetooth/Wii/Wii.ino index d56b4252..214625c5 100644 --- a/examples/Bluetooth/Wii/Wii.ino +++ b/examples/Bluetooth/Wii/Wii.ino @@ -8,7 +8,8 @@ #include USB Usb; -USBHub Hub1(&Usb); // Some dongles have a hub inside +//USBHub Hub1(&Usb); // Some dongles have a hub inside + BTD Btd(&Usb); // You have to create the Bluetooth Dongle instance like so /* You can create the instance of the class in two ways */ WII Wii(&Btd, PAIR); // This will start an inquiry and then pair with your Wiimote - you only have to do this once diff --git a/examples/Bluetooth/WiiIRCamera/WiiIRCamera.ino b/examples/Bluetooth/WiiIRCamera/WiiIRCamera.ino index ba701661..5d0fa91b 100644 --- a/examples/Bluetooth/WiiIRCamera/WiiIRCamera.ino +++ b/examples/Bluetooth/WiiIRCamera/WiiIRCamera.ino @@ -19,7 +19,8 @@ Otherwise, wire up a IR LED yourself. #endif USB Usb; -USBHub Hub1(&Usb); // Some dongles have a hub inside +//USBHub Hub1(&Usb); // Some dongles have a hub inside + BTD Btd(&Usb); // You have to create the Bluetooth Dongle instance like so /* You can create the instance of the class in two ways */ WII Wii(&Btd, PAIR); // This will start an inquiry and then pair with your Wiimote - you only have to do this once diff --git a/examples/Bluetooth/WiiMulti/WiiMulti.ino b/examples/Bluetooth/WiiMulti/WiiMulti.ino index 3036b908..51c9160b 100644 --- a/examples/Bluetooth/WiiMulti/WiiMulti.ino +++ b/examples/Bluetooth/WiiMulti/WiiMulti.ino @@ -9,7 +9,8 @@ #include USB Usb; -USBHub Hub1(&Usb); // Some dongles have a hub inside +//USBHub Hub1(&Usb); // Some dongles have a hub inside + BTD Btd(&Usb); // You have to create the Bluetooth Dongle instance like so WII *Wii[2]; // We will use this pointer to store the two instance, you can easily make it larger if you like, but it will use a lot of RAM! const uint8_t length = sizeof(Wii) / sizeof(Wii[0]); // Get the lenght of the array diff --git a/examples/Bluetooth/WiiUProController/WiiUProController.ino b/examples/Bluetooth/WiiUProController/WiiUProController.ino index 582eeae3..eb686879 100644 --- a/examples/Bluetooth/WiiUProController/WiiUProController.ino +++ b/examples/Bluetooth/WiiUProController/WiiUProController.ino @@ -8,7 +8,8 @@ #include USB Usb; -USBHub Hub1(&Usb); // Some dongles have a hub inside +//USBHub Hub1(&Usb); // Some dongles have a hub inside + BTD Btd(&Usb); // You have to create the Bluetooth Dongle instance like so /* You can create the instance of the class in two ways */ WII Wii(&Btd, PAIR); // This will start an inquiry and then pair with your Wiimote - you only have to do this once