swapped GPIO pins for SCL and SDA, because GPIO12 is a special pin that must not be pulled high during boot

This commit is contained in:
Youen Toupin 2022-03-31 12:02:39 +02:00
parent 496a7b7132
commit a91d56c390
5 changed files with 86284 additions and 86293 deletions

View File

@ -26,8 +26,8 @@ ADC batterySensor(39);
Dps310 pressureSensor = Dps310(); Dps310 pressureSensor = Dps310();
const int8_t speedSensorPin = 13; const int8_t speedSensorPin = 13;
const int8_t debugLedPin = 2; const int8_t debugLedPin = 2;
const int8_t I2C_SDA = 12; const int8_t I2C_SDA = 15;
const int8_t I2C_SCL = 15; const int8_t I2C_SCL = 12;
const float wheelDiameterInches = 20; const float wheelDiameterInches = 20;
const int numImpulsesPerTurn = 2; const int numImpulsesPerTurn = 2;

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
{ {
"board": { "board": {
"active_layer": 31, "active_layer": 0,
"active_layer_preset": "All Layers", "active_layer_preset": "Toutes Couches",
"auto_track_width": true, "auto_track_width": true,
"hidden_nets": [], "hidden_nets": [],
"high_contrast_mode": 0, "high_contrast_mode": 0,

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff