fix: correct XIAO RS485 UART pin mapping
This commit is contained in:
@@ -4,7 +4,7 @@ This Arduino sketch reads a BNO086 IMU and MAX-M10S GPS and publishes versioned,
|
||||
|
||||
| Function | XIAO pin |
|
||||
| --- | --- |
|
||||
| RS485 DE / TX / RX | D2 / D4 / D5 |
|
||||
| RS485 DE / RX / TX | 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.0"
|
||||
#define SENSOR_NODE_FIRMWARE_VERSION "0.2.1"
|
||||
#define SENSOR_NODE_SCHEMA_VERSION 1
|
||||
#define RS485_DE_PIN D2
|
||||
#define RS485_TX_PIN D4
|
||||
#define RS485_RX_PIN D5
|
||||
#define RS485_RX_PIN D4
|
||||
#define RS485_TX_PIN D5
|
||||
#define BNO086_SDA_PIN D7
|
||||
#define BNO086_SCL_PIN D8
|
||||
#define GPS_RX_PIN D9
|
||||
|
||||
Reference in New Issue
Block a user