0

issues with feather RP2040 and AHT20
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

issues with feather RP2040 and AHT20

by ltheoret on Tue Oct 12, 2021 10:07 pm

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

ltheoret
 
Posts: 50
Joined: Mon Nov 20, 2017 2:06 am

Re: issues with feather RP2040 and AHT20

by adafruit_support_carter on Wed Oct 13, 2021 5:50 pm

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 | TOGGLE FULL SIZE
aht.begin(&Wire1)

adafruit_support_carter
 
Posts: 21380
Joined: Tue Nov 29, 2016 2:45 pm

Re: issues with feather RP2040 and AHT20

by ltheoret on Wed Oct 13, 2021 10:01 pm

Hi,

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

ltheoret
 
Posts: 50
Joined: Mon Nov 20, 2017 2:06 am

Please be positive and constructive with your questions and comments.