Skip to content

Commit edd2283

Browse files
Add example initialization for AVR boards
1 parent 6919e09 commit edd2283

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

examples/USBPrinter/USBPrinter.ino

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22
#include "CH375.h"
33
#include "CH375USBPrinter.h"
44

5-
SoftwareSerial swSer(D6, D3, false, 32);
6-
CH375 ch375(swSer, D4);
5+
// ESP8266 example pins
6+
//SoftwareSerial swSer(D6, D3, false, 32);
7+
//CH375 ch375(swSer, D4);
8+
// Arduino AVR example pins
9+
SoftwareSerial swSer(2, 3, false, 32);
10+
CH375 ch375(swSer, 4);
711
CH375USBPrinter printer(ch375);
812

913
void setup() {

0 commit comments

Comments
 (0)