Black Lives Matter - Action and Equality. ... Adafruit is open and shipping.
0

RTC and LCD Shield
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

RTC and LCD Shield

by pumpkinheadnick on Mon Jan 04, 2016 9:41 pm

I am using the LCD Shield https://www.adafruit.com/products/772 and the RTC https://www.adafruit.com/products/264 and it seems that both of the wiring diagrams would like me to use the Analog 4 and 5 pins. I plan on using both of the library's with them.
How do I plug one of them into the A3 and A2 pins, is there something that I need to change in the library or something like that? (I was looking at the example codes for both of them and it does not seem that it states what pins it is using, that is why I think it is done in the library)

Let me know what I can do! :)

pumpkinheadnick
 
Posts: 65
Joined: Mon Jan 04, 2016 8:23 pm

Re: RTC and LCD Shield

by marke3 on Tue Jan 05, 2016 5:07 am

A4 and A5 are the I2C bus and different peripherals like the clock and display can share that same bus. The I2C communications will use the different addresses to manage the flow of data to and from the right place. Just plug them both into A4 and A5.

marke3
 
Posts: 200
Joined: Sat Feb 08, 2014 5:24 pm

Please be positive and constructive with your questions and comments.