Skip to content

Commit ea0aaa3

Browse files
committed
README.md: fix typos
1 parent 12711fb commit ea0aaa3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,26 +1103,26 @@ Serial.println("This goes to STDERR");
11031103
<a name="MultipleSerialPorts"></a>
11041104
#### Multiple Serial Ports
11051105

1106-
By default, a default instance of `StdioSerial` class is created named `Serial`,
1107-
which matches the behavior of the Arduino programming framework on actual
1108-
microcontrollers which a single serial port is provided by default.
1106+
By default, a default instance of `StdioSerial` class is created and named
1107+
`Serial`, which matches the behavior of the Arduino programming framework on
1108+
actual microcontrollers where a single serial port is provided by default.
11091109

11101110
Some microcontrollers provide multiple serial ports, often called `Serial1` or
11111111
`Serial2`. We can emulate that in EpoxyDuino by creating additional instances of
1112-
`StdioSerial`. The following creates a `Serial1` instances bound to STDOUT, and
1113-
another `Serial2` bound to STDERR:
1112+
`StdioSerial`. The following creates a `Serial1` instance bound to STDOUT, and
1113+
another `Serial2` instance bound to STDERR:
11141114

11151115
```C++
11161116
#ifdef EPOXY_DUINO
11171117
StdioSerial Serial1(STDOUT_FILENO);
11181118
StdioSerial Serial2(STDERR_FILENO);
1119+
#endif
11191120
...
11201121
void someFunction() {
11211122
Serial1.println("Print to STDOUT");
11221123
Serial2.println("Print to STDERR");
11231124
...
11241125
}
1125-
#endif
11261126
```
11271127

11281128
<a name="LibrariesAndMocks"></a>

0 commit comments

Comments
 (0)