Skip to content

Commit c9b9e4f

Browse files
Fix example
1 parent edd2283 commit c9b9e4f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/USBPrinter/USBPrinter.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//SoftwareSerial swSer(D6, D3, false, 32);
77
//CH375 ch375(swSer, D4);
88
// Arduino AVR example pins
9-
SoftwareSerial swSer(2, 3, false, 32);
9+
SoftwareSerial swSer(2, 3, false);
1010
CH375 ch375(swSer, 4);
1111
CH375USBPrinter printer(ch375);
1212

@@ -84,6 +84,7 @@ void loop() {
8484
} else {
8585
Serial.println("Failed");
8686
}
87+
}
8788

8889
/*Serial.println("Setting device address to 3...");
8990
if (ch375.setAddress(3)) {

0 commit comments

Comments
 (0)