From 4e7c5ce51eeb50884967ea04791f66ddb8704a03 Mon Sep 17 00:00:00 2001 From: Kristian Sloth Lauszus Date: Thu, 17 Jan 2013 00:47:38 +0100 Subject: [PATCH] Addd check for WIICAMERA --- examples/Bluetooth/{Wii => }/WiiIRCamera/WiiIRCamera.ino | 3 +++ 1 file changed, 3 insertions(+) rename examples/Bluetooth/{Wii => }/WiiIRCamera/WiiIRCamera.ino (96%) diff --git a/examples/Bluetooth/Wii/WiiIRCamera/WiiIRCamera.ino b/examples/Bluetooth/WiiIRCamera/WiiIRCamera.ino similarity index 96% rename from examples/Bluetooth/Wii/WiiIRCamera/WiiIRCamera.ino rename to examples/Bluetooth/WiiIRCamera/WiiIRCamera.ino index 07f0db5d..0598b9d3 100644 --- a/examples/Bluetooth/Wii/WiiIRCamera/WiiIRCamera.ino +++ b/examples/Bluetooth/WiiIRCamera/WiiIRCamera.ino @@ -12,6 +12,9 @@ wire up a IR LED yourself. */ #include +#ifndef WIICAMERA // Used to check if WIICAMERA is defined +#error "Uncomment WIICAMERA in Wii.h to use this example" +#endif USB Usb; BTD Btd(&Usb); // You have to create the Bluetooth Dongle instance like so /* You can create the instance of the class in two ways */