issues with feather RP2040 and AHT20

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
ltheoret
 
Posts: 51
Joined: Mon Nov 20, 2017 2:06 am

issues with feather RP2040 and AHT20

Post by ltheoret »

Hi,

I was wondering if there was an issue with the Adafruit_AHTX0 library and the Feather PR2040.
The Feather PR2040 using the STEMMA connector freezes every time I try to initialize the AHT20.
I tried the same AHT20 on the Metro M4 using the STEMMA to 4-Pin cable and it works great.
Is this an issue with Arduino IDE not yet supported for the Feather RP2040?

Luc

User avatar
adafruit_support_carter
 
Posts: 29180
Joined: Tue Nov 29, 2016 2:45 pm

Re: issues with feather RP2040 and AHT20

Post by adafruit_support_carter »

The STEMMA connector on the Feather RP2040 ends up being Wire1 instead of Wire. So change your call to begin() to be like:

Code: Select all

aht.begin(&Wire1)

User avatar
ltheoret
 
Posts: 51
Joined: Mon Nov 20, 2017 2:06 am

Re: issues with feather RP2040 and AHT20

Post by ltheoret »

Hi,

Thank you. Did not see that. Thanks again. :)
Luc

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”