Problem with I2C pin
Posted: Fri Jul 28, 2017 11:04 am
Hello,
I'm trying to test the program of Kolban with the BMP180 and a esp WROOM 32:
https://github.com/nkolban/esp32-snippe ... 20pressure
I connect SCL pin of the BMP180 to GPIO23 pin of the esp32 and the SDA pin to the io22. However, the output temperature is constant equal to 12.9°C and when i disconnect the bmp180 the temperature doesn't change.
In bmp180.c pin number are initialized with:
But in the esp WROOM 32 datasheet, the schema with the pin layout said that GPIO22 pin number is 36 and GPIO23 pin number is 37.
Wich number should i precise in the bmp180.c?
Thank you
I'm trying to test the program of Kolban with the BMP180 and a esp WROOM 32:
https://github.com/nkolban/esp32-snippe ... 20pressure
I connect SCL pin of the BMP180 to GPIO23 pin of the esp32 and the SDA pin to the io22. However, the output temperature is constant equal to 12.9°C and when i disconnect the bmp180 the temperature doesn't change.
In bmp180.c pin number are initialized with:
Code: Select all
conf.sda_io_num = 18;
conf.scl_io_num = 19;
Wich number should i precise in the bmp180.c?
Thank you