mirror of
				https://github.com/alexandrebobkov/ESP-Nodes.git
				synced 2025-10-31 04:09:51 +00:00 
			
		
		
		
	esp32 temperature node
This commit is contained in:
		| @@ -31,8 +31,8 @@ | |||||||
|  |  | ||||||
| static const char *TAG = "i2c-simple-example"; | static const char *TAG = "i2c-simple-example"; | ||||||
|  |  | ||||||
| #define I2C_MASTER_SCL_IO           CONFIG_I2C_MASTER_SCL      /*!< GPIO number used for I2C master clock */ | #define I2C_MASTER_SCL_IO           21      /*!< GPIO number used for I2C master clock */ | ||||||
| #define I2C_MASTER_SDA_IO           CONFIG_I2C_MASTER_SDA      /*!< GPIO number used for I2C master data  */ | #define I2C_MASTER_SDA_IO           22      /*!< GPIO number used for I2C master data  */ | ||||||
| #define I2C_MASTER_NUM              I2C_NUM_0                          /*!< I2C master i2c port number, the number of i2c peripheral interfaces available will depend on the chip */ | #define I2C_MASTER_NUM              I2C_NUM_0                          /*!< I2C master i2c port number, the number of i2c peripheral interfaces available will depend on the chip */ | ||||||
| #define I2C_MASTER_FREQ_HZ          400000                     /*!< I2C master clock frequency */ | #define I2C_MASTER_FREQ_HZ          400000                     /*!< I2C master clock frequency */ | ||||||
| #define I2C_MASTER_TX_BUF_DISABLE   0                          /*!< I2C master doesn't need buffer */ | #define I2C_MASTER_TX_BUF_DISABLE   0                          /*!< I2C master doesn't need buffer */ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user