You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This adds support for using I2C with the alternate mappings PD1, PD0 and PC5, PC6.
To use PD1 (the SWDIO pin), pinV32_DisconnectDebug(PD_1) must be called before Wire.begin(), not sure if this should be documented somewhere or added to the code?
I also changed the existing default mapping to use AFIO_Remap_I2C1_DISABLE so that it is possible to change the pin mapping back to the default at runtime.
Tested on CHV0003F4P6-EVT-R0.
Source openwch/arduino_core_ch32#152
0 commit comments