Skip to content

Commit 532ead9

Browse files
committed
Assign Wire1 as default for NanoR4
1 parent 10bda6d commit 532ead9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Modulino.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void __increaseI2CPriority();
2626

2727
class ModulinoClass {
2828
public:
29-
#ifdef ARDUINO_UNOR4_WIFI
29+
#if defined(ARDUINO_UNOR4_WIFI) || defined(ARDUINO_NANO_R4)
3030
void begin(HardwareI2C& wire = Wire1) {
3131
#else
3232
void begin(HardwareI2C& wire = Wire) {

0 commit comments

Comments
 (0)