Skip to content

Commit

Permalink
fixed hard coded pins 17,18 to 2,3 for esp32c3 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJBurke committed Mar 23, 2024
1 parent c81eee3 commit bda3b50
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
; https://docs.platformio.org/en/latest/boards/espressif32/esp32-c3-devkitc-02.html


;[env:esp32-c3-devkitm-1]
;platform = espressif32
;board = esp32-c3-devkitm-1
[env:esp32-c3-devkitc-02]
[env:esp32-c3-devkitm-1]
platform = espressif32
board = esp32-c3-devkitc-02
board = esp32-c3-devkitm-1
;[env:esp32-c3-devkitc-02]
;platform = espressif32
;board = esp32-c3-devkitc-02

framework = arduino
monitor_speed = 57600
Expand Down
3 changes: 2 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,8 @@ void setup() {
delay(100);

Serial.begin(57600);
Serial1.begin(57600, SERIAL_8N1, 17, 18);
// Serial1.begin(57600, SERIAL_8N1, 17, 18);
Serial1.begin(57600, SERIAL_8N1, 2,3);

nvs_flash_init();
tcpip_adapter_init();
Expand Down

0 comments on commit bda3b50

Please sign in to comment.