Skip to content

Commit

Permalink
Update pins_arduino.h
Browse files Browse the repository at this point in the history
  • Loading branch information
o-gent authored Jan 25, 2024
1 parent fae5cd2 commit c79dfbc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions variants/RASPBERRY_PI_PICO/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ static const uint8_t A3 = PIN_A3;
#define ADC_RESOLUTION 12

// Serial
#define PIN_SERIAL_TX (0ul)
#define PIN_SERIAL_RX (1ul)
#define PIN_SERIAL1_TX (0ul)
#define PIN_SERIAL1_RX (1ul)
#define PIN_SERIAL2_TX (8ul)
#define PIN_SERIAL2_RX (9ul)

Expand All @@ -59,8 +59,8 @@ static const uint8_t SCK = PIN_SPI_SCK;
#define PIN_WIRE_SCL (5u)

#define SERIAL_HOWMANY 2
#define SERIAL1_TX (digitalPinToPinName(PIN_SERIAL_TX))
#define SERIAL1_RX (digitalPinToPinName(PIN_SERIAL_RX))
#define SERIAL1_TX (digitalPinToPinName(PIN_SERIAL1_TX))
#define SERIAL1_RX (digitalPinToPinName(PIN_SERIAL1_RX))
#define SERIAL2_TX (digitalPinToPinName(PIN_SERIAL2_TX))
#define SERIAL2_RX (digitalPinToPinName(PIN_SERIAL2_RX))

Expand Down

0 comments on commit c79dfbc

Please sign in to comment.