Addd check for WIICAMERA

This commit is contained in:
Kristian Sloth Lauszus 2013-01-17 00:47:38 +01:00
parent 1cb937b2a1
commit 4e7c5ce51e

View file

@ -12,6 +12,9 @@ wire up a IR LED yourself.
*/ */
#include <Wii.h> #include <Wii.h>
#ifndef WIICAMERA // Used to check if WIICAMERA is defined
#error "Uncomment WIICAMERA in Wii.h to use this example"
#endif
USB Usb; USB Usb;
BTD Btd(&Usb); // You have to create the Bluetooth Dongle instance like so BTD Btd(&Usb); // You have to create the Bluetooth Dongle instance like so
/* You can create the instance of the class in two ways */ /* You can create the instance of the class in two ways */