Skip to content

Error messages? #1

@luckyxero46

Description

@luckyxero46

Hi- Sorry if this is not the correct place to put this, but I tried your project and am getting the following messages.

Do you know what could be wrong? I've never used a backpack before so do you think it's that? It was plugged in like your diagram stated.

Thanks for any help!
Elly

===========start===========
pi@raspberrypi:~/Edison $ python3 Edison.py
Traceback (most recent call last):
File "/home/pi/Edison/Edison.py", line 46, in
i2c = board.I2C()
File "/home/pi/.local/lib/python3.9/site-packages/board.py", line 409, in I2C
return busio.I2C(SCL, SDA)
File "/home/pi/.local/lib/python3.9/site-packages/busio.py", line 37, in init
self.init(scl, sda, frequency)
File "/home/pi/.local/lib/python3.9/site-packages/busio.py", line 162, in init
raise ValueError(
ValueError: No Hardware I2C on (scl,sda)=(3, 2)
Valid I2C ports: ((1, 3, 2), (0, 1, 0), (10, 45, 44))
===========end===========

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions