fix: restore verified XIAO RS485 pin direction

This commit is contained in:
2026-07-26 18:38:14 -06:00
parent 753d13157e
commit ab5424d82e
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ This Arduino sketch reads a BNO086 IMU and MAX-M10S GPS and publishes versioned,
| Function | XIAO pin |
| --- | --- |
| RS485 DE / RX / TX | D2 / D4 / D5 |
| RS485 DE / TX / RX | D2 / D4 / D5 |
| BNO086 SDA / SCL | D7 / D8 |
| GPS TX to XIAO RX | D9 |
| GPS RX from XIAO TX | D10 |
@@ -2,11 +2,11 @@
#include <Arduino.h>
#define SENSOR_NODE_NAME "xiao_c6_sensor_node"
#define SENSOR_NODE_FIRMWARE_VERSION "0.2.1"
#define SENSOR_NODE_FIRMWARE_VERSION "0.2.2"
#define SENSOR_NODE_SCHEMA_VERSION 1
#define RS485_DE_PIN D2
#define RS485_RX_PIN D4
#define RS485_TX_PIN D5
#define RS485_TX_PIN D4
#define RS485_RX_PIN D5
#define BNO086_SDA_PIN D7
#define BNO086_SCL_PIN D8
#define GPS_RX_PIN D9