mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Addd check for WIICAMERA
This commit is contained in:
parent
1cb937b2a1
commit
4e7c5ce51e
1 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,9 @@ wire up a IR LED yourself.
|
|||
*/
|
||||
|
||||
#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;
|
||||
BTD Btd(&Usb); // You have to create the Bluetooth Dongle instance like so
|
||||
/* You can create the instance of the class in two ways */
|
Loading…
Reference in a new issue