Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP01s not working with library #6

Closed
Avpi18 opened this issue Jul 28, 2022 · 2 comments
Closed

ESP01s not working with library #6

Avpi18 opened this issue Jul 28, 2022 · 2 comments

Comments

@Avpi18
Copy link

Avpi18 commented Jul 28, 2022

With the Wemos D1 mini, the library works wonderfully and without errors. However, when I try to run the example code from the AHT2x on an ESP01s, I always get the same error: "AHT2x not connected or fail to load calibration ... ".

How can I get the code to run?

@enjoyneering
Copy link
Owner

It is working. I use it every day in my tthRelay project.

For ESP-01 you need set up SDA& SCK pin

aht10.begin(0, 2, 400000); //sda, scl, speed in Hz

@Avpi18
Copy link
Author

Avpi18 commented Jul 31, 2022

Many thanks
From the newbie 👍🏻😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants