Skip to content

Commit df09f30

Browse files
authored
Merge pull request #63 from arduino-libraries/unoq-support
2 parents 1d13ef8 + fc2cffe commit df09f30

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)