Added the I2C clock speed parameter to the app_config.h file. Max working clock speed seems to be 300kHz

This commit is contained in:
anschrammh 2023-03-26 23:04:43 +02:00
parent 7329d86437
commit 22805a4e54

View File

@ -43,6 +43,7 @@
* @brief i2c
*
*/
#define I2C_CLOCK_SPEED (300000) // 300 kHz seems to be the maximum achievable clock speed before the touch IC behaves funky
#define I2C_SCL WM_IO_PA_01
#define I2C_SDA WM_IO_PB_19