Fix MKS Robin Nano V3 I2C pins (#21174)

This commit is contained in:
Victor Oliveira
2021-02-24 21:36:55 -03:00
committed by GitHub
parent a3a10b62f2
commit d5b06624fb
2 changed files with 9 additions and 3 deletions

View File

@ -143,8 +143,12 @@ extern "C" {
#define PIN_SPI_SCK PA5
// I2C definitions
#define PIN_WIRE_SDA PB9
#define PIN_WIRE_SCL PB8
#ifndef PIN_WIRE_SDA
#define PIN_WIRE_SDA PB9
#endif
#ifndef PIN_WIRE_SCL
#define PIN_WIRE_SCL PB8
#endif
// Timer Definitions
// Use TIM6/TIM7 when possible as servo and tone don't need GPIO output pin