Skip to content

Commit bf3ae79

Browse files
committed
added support for uno r4 wifi
1 parent dbcb445 commit bf3ae79

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/RS485.h

+4
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
#elif ARDUINO_SAMD_ZERO
4040
#define RS485_DEFAULT_DE_PIN A4
4141
#define RS485_DEFAULT_RE_PIN A5
42+
#elif ARDUINO_UNOR4_WIFI
43+
#define SERIAL_PORT_HARDWARE Serial1
44+
#define RS485_DEFAULT_DE_PIN 8
45+
#define RS485_DEFAULT_RE_PIN 7
4246
#else
4347
#ifndef RS485_DEFAULT_DE_PIN
4448
#define RS485_DEFAULT_DE_PIN A6

0 commit comments

Comments
 (0)