change pins
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
#include "bme280.h"
|
||||
|
||||
// pin numbers specific to this TTGO board
|
||||
#define SCL_PIN 21
|
||||
#define SDA_PIN 22
|
||||
#define SCL_PIN 22
|
||||
#define SDA_PIN 21
|
||||
|
||||
int8_t user_i2c_read(uint8_t dev_addr, uint8_t reg_addr, uint8_t *reg_data, uint8_t cnt);
|
||||
int8_t user_i2c_write(uint8_t dev_addr, uint8_t reg_addr, uint8_t *reg_data, uint8_t cnt);
|
||||
|
||||
Reference in New Issue
Block a user