Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ Forum
➜ Problems
➜ I2C endTransmission hang
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Adwsail
USA (1 post) Bio
|
| Date
| Mon 18 May 2015 12:58 AM (UTC) |
| Message
| I have downloaded the I2C_Rev5.zip library and am trying to use it in your I2CScanDevices.ino but having no luck. My newbie attempts to substitute the I2C_Rev5 functions for the Wire functions is apparently over my head and after 14 hours reading, experimenting, rewiring, replacing parts etc I am no closer to scanning the I2C address of a PCF8574N set up with all address lines pulled low than when I started.
The idea was to use the PCF8574N to control a 16x2 LCD: (P0 to RS,P1 to RW, P2 to en, P4 to d4, P5 to d5, P6 to d6, P7 to d7.) But I cant even get that far. I was wanting to scan the PCF8574 to verify the address, I THINK it is 0x40, but none of the assorted versions of I2C scanners work. Inserting code to turn the Uno R3 onboard led on just before endTransmission works fine but turning off immediately after never happens. None of the connecting wires are over 7cm long, power and ground are good at 5.0vdc and 4.7k pullups are on the SDA and SCL lines.
Any ideas or perhaps a scanner sketch that has the I2C_Rev5 restart functions in it? Thankyou for your time. | | Top |
|
| Posted by
| Nick Gammon
Australia (23,165 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Mon 18 May 2015 03:15 AM (UTC) |
| Message
| |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
13,548 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top