Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
gianluca-nitti committed Jun 29, 2019
1 parent edd2283 commit c9b9e4f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/USBPrinter/USBPrinter.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//SoftwareSerial swSer(D6, D3, false, 32);
//CH375 ch375(swSer, D4);
// Arduino AVR example pins
SoftwareSerial swSer(2, 3, false, 32);
SoftwareSerial swSer(2, 3, false);
CH375 ch375(swSer, 4);
CH375USBPrinter printer(ch375);

Expand Down Expand Up @@ -84,6 +84,7 @@ void loop() {
} else {
Serial.println("Failed");
}
}

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

0 comments on commit c9b9e4f

Please sign in to comment.