hi
i get a data logger shield n i have an Arduina Mega board
i was testing the shield beginning with the RTC part, i copy the sketch from the xample but
i get the same when i upload the first sketch n when i uncoment the line for adjusting the time.
i never get the line "RTC is NOT running!"
even when i take off the DS1307
i dont know where the problem is =(
RTC problems between Arduino Mega n DLS
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88087
- Joined: Sat Feb 07, 2009 10:11 am
Re: RTC problems between Arduino Mega n DLS
The RTC uses I2C for communication and the Mega uses different pins for I2C. (digital 20 & 21 instead of analog4 & 5)
One way is to run jumpers to the Mega I2C pins. Another option is "SoftI2C": http://forums.adafruit.com/viewtopic.php?f=25&t=13722
One way is to run jumpers to the Mega I2C pins. Another option is "SoftI2C": http://forums.adafruit.com/viewtopic.php?f=25&t=13722
-
- Posts: 10
- Joined: Fri May 20, 2011 3:07 pm
Re: RTC problems between Arduino Mega n DLS
thnx a lot, that solve my problem =)
Please be positive and constructive with your questions and comments.