1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-12 13:33:06 +01:00
This commit is contained in:
wt
2022-01-13 15:23:01 +01:00
parent 3035314825
commit 4ecadf4d77
3 changed files with 7 additions and 4 deletions

View File

@@ -3,10 +3,12 @@
#include "GwApi.h"
//we only compile for some boards
#ifdef BOARD_NODEMCU32S_OBP60
//CAN NMEA2000
// CAN NMEA2000
#define ESP32_CAN_TX_PIN GPIO_NUM_13
#define ESP32_CAN_RX_PIN GPIO_NUM_12
//RS485 NMEA0183
// Bus load in 50mA steps
#define N2K_LOAD_LEVEL 5 (250mA max bus load with back light on)
// RS485 NMEA0183
#define GWSERIAL_TX 26
#define GWSERIAL_RX 14
#define GWSERIAL_MODE "UNI"

View File

@@ -15,6 +15,6 @@ lib_deps =
build_flags=
-D BOARD_NODEMCU32S_OBP60
${env.build_flags}
upload_port = COM6
upload_port = COM3
upload_protocol = esptool
monitor_speed = 115200