aselectroworks / Arduino-FT6336U

FocalTech FT6336U (Self-Capacitive Touch Panel Controller) library for Arduino.
MIT License
38 stars 10 forks source link

Support specifying I2C pins for STM #5

Closed MarcelRobitaille closed 1 year ago

MarcelRobitaille commented 1 year ago

Similar to how Wire.begin can take SDA and SCL for ESP32. This PR allows you to specify the SDA and SCL pins for STM microcontrollers, which is also supported.

MarcelRobitaille commented 1 year ago

Ok, it compiles but it doesn't actually work. Looks like you have to do it another way in STM: https://github.com/stm32duino/wiki/wiki/API#i2c