BMP280 and AHT20 #666
Replies: 6 comments 6 replies
-
Problem with compiling - can you pleas help? |
Beta Was this translation helpful? Give feedback.
-
@greeaaby
|
Beta Was this translation helpful? Give feedback.
-
In user_config_override.h make change as below, and then make file: my_custom.cpp and my_custom.h (or another name)
|
Beta Was this translation helpful? Give feedback.
-
Thank you - Now i made another big step. |
Beta Was this translation helpful? Give feedback.
-
openHASP\src\my_custom.cpp Why not work,HASP_USE_CUSTOM set to 1 #if defined(HASP_USE_CUSTOM) && true // <-- set this to true in your code #include "hasp_debug.h" void custom_setup() void custom_loop() void custom_every_second() |
Beta Was this translation helpful? Give feedback.
-
void custom_loop() |
Beta Was this translation helpful? Give feedback.
-
In my board (ESP32-4848S040) connected in parallel to G911, IO19(SDA) and IO45(SCL)
https://pl.aliexpress.com/item/1005003123605458.html?spm=a2g0o.productlist.main.25.17be6b35hjl9XJ&algo_pvid=39648458-5656-402a-85c0-6404d459d7ec&algo_exp_id=39648458-5656-402a-85c0-6404d459d7ec-12&pdp_npi=4%40dis%21PLN%213.63%213.63%21%21%210.90%210.90%21%40211b613117100044365095668ef3f6%2112000024222833412%21sea%21PL%21121852947%21&curPageLogUid=MiLzWAR3m5dl&utparam-url=scene%3Asearch%7Cquery_from%3A
my_custom.cpp
https://github.com/adafruit/Adafruit_AHTX0/tree/master
https://registry.platformio.org/libraries/adafruit/Adafruit%20BMP280%20Library
platformio.ini - add line:
adafruit/Adafruit AHTX0@^2.0.5
adafruit/Adafruit BMP280 Library@^2.6.8
😏
`
Beta Was this translation helpful? Give feedback.
All reactions