Quick observation:
Your line 49: i2c_master_start(cmd_handle);
Why do you restart the i2c transaction in the middle of writing the register address and then writing the read request?
Search found 2 matches
- Wed May 01, 2019 4:32 am
- Forum: ESP-IDF
- Topic: BMP280 I2C temperature & pressure reading issue ***Solved***
- Replies: 8
- Views: 16203
- Mon Feb 04, 2019 8:11 am
- Forum: Documentation
- Topic: Documentation Requests/Feedback
- Replies: 81
- Views: 234000
Re: Document Requests/Feedback
Hi, I was wondering if there was an inconsistency in the documentation with respect to the ADC1 channel mappings. Here is what I see from the latest docs: page 34 of esp32_datasheet_en.pdf V2.8: ADC1_CH0 SENSOR_VP ADC1_CH1 SENSOR_VN ADC1_CH2 SENSOR_CAPP ADC1_CH3 SENSOR_CAPN Notice that ADC1_CH3 is S...