

I followed your link to adafruit's libraries for beginners and decided to re-installed 1.6.3 into a folder without spaces, which like before didn't help, but a different “error compiling” message appears (below). Spi4teens圓 and "USB_Host_Shield_20" are in the right folder. Satisfy IDE, which only needs to see the include statment in the ino. Virtual HIDReportParser* GetReportParser(uint8_t id) In file included from C:\Program Files (x86)\Arduino\Arduino\libraries\USB_Host_Shield_20/hidboot.h:20:0,Ĭ:\Program Files (x86)\Arduino\Arduino\libraries\USB_Host_Shield_20/hid.h: In member function 'virtual HIDReportParser* HID::GetReportParser(uint8_t)':Ĭ:\Program Files (x86)\Arduino\Arduino\libraries\USB_Host_Shield_20/hid.h:159:63: warning: no return statement in function returning non-void In file included from C:\Program Files (x86)\Arduino\Arduino\libraries\USB_Host_Shield_20/Usb.h:36:0,įrom C:\Program Files (x86)\Arduino\Arduino\libraries\USB_Host_Shield_20/hid.h:20,įrom C:\Program Files (x86)\Arduino\Arduino\libraries\USB_Host_Shield_20/hidboot.h:20,Ĭ:\Program Files (x86)\Arduino\Arduino\libraries\USB_Host_Shield_20/usbhost.h: In member function 'uint8_t MAX3421e::regRd(uint8_t)':Ĭ:\Program Files (x86)\Arduino\Arduino\libraries\USB_Host_Shield_20/usbhost.h:257:9: error: 'SPI' was not declared in this scope Using library SPI in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SPI (1.0.x format)Ĭ:\Program Files (x86)\Arduino/hardware/tools/arm/bin/arm-none-eabi-g++ -c -O -g -Wall -ffunction-sections -fdata-sections -MMD -nostdlib -fno-exceptions -felide-constructors -std=gnu++0x -fno-rtti -mthumb -mcpu=cortex-m4 -D_MK20DX256_ -DTEENSYDUINO=122 -DARDUINO=10603 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH -IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teens圓 -IC:\Program Files (x86)\Arduino\Arduino\libraries\USB_Host_Shield_20 -IC:\Program Files (x86)\Arduino\Arduino\libraries\spi4teens圓 -IC:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SPI C:\Users\Frank\AppData\Local\Temp\build8167078760123349979.tmp\USBHIDBootKbdAndMouse.cpp -o C:\Users\Frank\AppData\Local\Temp\build8167078760123349979.tmp\ Using library spi4teens圓 in folder: C:\Program Files (x86)\Arduino\Arduino\libraries\spi4teens圓 (1.0.x format)

Using library USB Host Shield Library 2.0 in folder: C:\Program Files (x86)\Arduino\Arduino\libraries\USB_Host_Shield_20 Can you please help me, or point me in the right direction?Įxample below “Error compiling” message for USBHIDBootKbdAndMouse:Īrduino: 1.6.3 (Windows 7), TD: 1.22, Board: "Teensy 3.1, Serial, 96 MHz optimized (overclock), US English"

It feels like I'm missing something stupid.
#Arduino usb host shield example manuals#
I think I have read all of the instructions, manuals and readme files at, , and GitHub.
#Arduino usb host shield example serial#
I did get spi4teens圓 speedtest to upload and work with the serial monitor in all versions of Arduino with Teensyduino! :) The PJRC forum was helpful for getting previous versions of Teensyduino. Every time I change the board to Teensy in the Arduino IDE, all the USB Host Shield 2.0 Examples (and only those) return “Error compiling” and never get to upload. I am having trouble using the USB Host Shield 2.0 examples (or any UHS code) with a Teensy 3.1.
