Skip to content

Commit 6b28b9d

Browse files
committed
Update serialEvent.adoc
1 parent 1a84777 commit 6b28b9d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Language/Functions/Communication/Serial/serialEvent.adoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ void serialEvent() {
3030
}
3131
----
3232

33-
The Mega 2560 R3 has additional serial ports which can be accessed by adding the corresponding number at the end of the function.
33+
The Mega 2560 R3 and Due boards have additional serial ports which can be accessed by adding the corresponding number at the end of the function.
3434

3535
[source,arduino]
3636
----
@@ -67,9 +67,9 @@ Nothing
6767

6868
[float]
6969
=== Notes and Warnings
70-
Please note that `serialEvent()` *does not work* on any modern Arduino boards. The only recognized boards to have support as of 2023/12/06 is the *UNO R3* and *Mega 2560 R3*, which are based on the ATmega328P and ATmega2560 chips.
70+
Please note that `serialEvent()` *does not work* on any modern Arduino boards. The only recognized boards to have support as of 2023/12/06 is the *UNO R3*, *Mega 2560 R3* and *Due*.
7171

72-
Instead, you can use the link:../available[`available()`] method. Examples in this page demonstrates how to read serial data only when it is available, which is exactly what `Serial.event()` does.
72+
Instead, you can use the link:../available[`available()`] method. Examples in this page demonstrates how to read serial data only when it is available, similarly to how `Serial.event()` is implemented.
7373
[%hardbreaks]
7474

7575
--

0 commit comments

Comments
 (0)