Skip to content

Commit a07f21f

Browse files
committed
Update serialEvent() hardware support documentation
serialEvent*() doesn't work on the SAMD and SAM boards. Strangely, the ARC32 core (101) has a call to serialEvent(), but not one to serialEvent1(). I don't own a 101 so I can't verify any level of support on that board.
1 parent 0a26818 commit a07f21f

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

Language/Functions/Communication/Serial/serialEvent.adoc

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ title: Serial.serialEvent()
1515
[float]
1616
=== Description
1717
Called when data is available. Use `Serial.read()` to capture this data.
18-
19-
NB : Currently, `serialEvent()` is not compatible with the Esplora, Leonardo, or Micro
2018
[%hardbreaks]
2119

2220

@@ -57,6 +55,23 @@ Nothing
5755
// OVERVIEW SECTION ENDS
5856

5957

58+
// HOW TO USE SECTION STARTS
59+
[#howtouse]
60+
--
61+
62+
[float]
63+
=== Notes and Warnings
64+
`serialEvent()` doesn't work on the Leonardo or Micro.
65+
66+
`serialEvent()` and `serialEvent1()` don't work on the Arduino SAMD Boards
67+
68+
`serialEvent()`, `serialEvent1()``serialEvent2()`, and `serialEvent3()` don't work on the Arduino Due.
69+
[%hardbreaks]
70+
71+
--
72+
// HOW TO USE SECTION ENDS
73+
74+
6075
// SEE ALSO SECTION
6176
[#see_also]
6277
--

0 commit comments

Comments
 (0)