Skip to content

USB C to I2C converter not being recognized in command prompt #909

@Duh-Inc

Description

@Duh-Inc

Board Name

ft232h and win 11 pc

Steps

in this tuto I got all the way to the step where i install blinka. i had no errors. the tuto told me that i could permanently change a setting, so i decided to open up the system 32 cmd to run that specific command (i have no idea if that even would work tho) and closed out of it. i didnt read ahead, but when i did, irealized i shouldn't have done that. No matter, i just re-opened normal cmd, ran the command again to make sure it would be working, and ran import board. then i got this error:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users*\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\board.py", line 21, in
from adafruit_blinka.agnostic import board_id, detector
File "C:\Users*
\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\adafruit_blinka\agnostic_init_.py", line 21, in
chip_id = detector.chip.id
^^^^^^^^^^^^^^^^
File "C:\Users*****\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\adafruit_platformdetect\chip.py", line 95, in id
raise RuntimeError(
RuntimeError: BLINKA_MCP2221 environment variable set, but no MCP2221 device found

I then forcefullry re-installed blinka, but it didnt do anything.

i have the board plugged in with a usb a - c cable from my pc. what could i be doing wrong?

Description

No response

Additional information

I dont know if i did this correctly, im not very good with this sort of stuff (both cmd and explaining)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions