Skip to content

Commit fc2cffe

Browse files
committed
Add support for Uno Q
1 parent af9604e commit fc2cffe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/RS485.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@
4343
#define SERIAL_PORT_HARDWARE Serial1
4444
#define RS485_DEFAULT_DE_PIN 8
4545
#define RS485_DEFAULT_RE_PIN 7
46+
#elif defined(ARDUINO_UNO_Q)
47+
// Support for Uno Q with the SPE Shield mounted
48+
#define SERIAL_PORT_HARDWARE Serial
49+
#define RS485_DEFAULT_DE_PIN D8
50+
#define RS485_DEFAULT_RE_PIN D7
4651
#else
4752
#ifndef RS485_DEFAULT_DE_PIN
4853
#define RS485_DEFAULT_DE_PIN A6

0 commit comments

Comments
 (0)