• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Lcd 16x2 and Usb.Init ()

Thread starter #21
I do not know if you are still there. The LCD + i2C display with a simple sketch works and the display shows the characters correctly, but using lcd + i2C in my sketch, i have the same problem as the LCD 1602 without i2C module, and the lcd does not shows anything and i understand that the cause is because the serial does not turn on, in fact the if (Serial.available ()) returns value False, while disconnecting the i2C module the serial works regularly.
 

Ian Rogers

User Extraordinaire
Forum Supporter
Most Helpful Member
#23
No! I went on holiday... We're allowed to do that you know!!

As you may already know... I don't really follow Arduino.. I do pic's.. The Arduino system has very few pins so interfacing two or more shields will always be a headache.. I thought that the I2C pins on an Arduino were on AD4 and 5 so they shouldn't affect serial atall..
 
Thread starter #24
oh sorry, I hope you're relaxed ;-) I also think that analog pins 4 and 5 should not affect the serial, unfortunately the problem does not resolve
 

Ian Rogers

User Extraordinaire
Forum Supporter
Most Helpful Member
#33
looking at the PDF for the keyes shield.... The MAX_LCD library uses the digital pins on the shield to drive an LCD as the shield itself uses eight Arduino pins.. The MAX_LCD library is built into the host shield library..

This is how I would run the display!!

If you open this link
http://tinkbox.ph/sites/tinkbox.ph/files/downloads/Keyes - USB Host Shield.pdf
there is a library link within..
 
Thread starter #34
I can try it out because a USB_Host_Shield library is already included and it also contains the max_LCD files, although they know that they have different sizes.

Thanks !
 

Latest threads

EE World Online Articles

Loading

 
Top