USB host shield, input device and LCD

groundFungus:

const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;

LiquidCrystal lcd(rs, en, d4, d5, d6, d7);




What pins does the USB host shield use?



#include <SPI.h>




SPI uses pins 13, 12, 11 and in some cases 10 and/or 4. Pin 10 must be an OUTPUT.

Oh of course. The Rs and EN pins are interfering with the usb host shield.
sometimes you need a second pair of eyes.

I switched the RS to 6 and the EN to 7.
Still not what i want but i can use the LCD now.

I already tried using the GPOUT pins. But i couldn't make it work with my arduino using de MAX_LCD library.
So i tried it the other way.

The usb host uses the ISCP pins. It uses SPI to send and receive the data.

Thanks!