-

CommentStreams:A60f73042679294d2325331039e54c16

From Geekworm Wiki
< CommentStreams:Baf5270e21501474e85ba169b00db84f
Revision as of 13:11, 28 January 2021 by 31.18.149.217 (talk) (Migrated reply #1344)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

root@raspberrypi:/home/pi# python2 x750ups.py

Traceback (most recent call last):

 File "x750ups.py", line 31, in <module>
   print "Voltage:%5.2fV" % readVoltage(bus)
 File "x750ups.py", line 11, in readVoltage
   read = bus.read_word_data(address, 2)

IOError: [Errno 110] Connection timed out

and: sudo i2cdetect -y 1

    0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f

00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --

is the gpio port defect?