Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 27 additions & 17 deletions Language/Functions/Communication/Serial/serialEvent.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,33 @@ title: serialEvent()
[float]
=== Description
Called when data is available. Use `Serial.read()` to capture this data.

`serialEvent()` functionality is not available on all Arduino boards or `_Serial_` interfaces:
[options="header"]
|======================================================
| Board | Available `serialEvent()` functions
| Uno +
Nano | `serialEvent()`
| Mega | `serialEvent()` +
`serialEvent1()` +
`serialEvent2()` +
`serialEvent3()`
| Leonardo +
Micro +
Yún | `serialEvent1()`
| Uno WiFi Rev2 +
Nano Every | None
| MKR boards +
Nano 33 IoT +
Zero | None
| Nano 33 BLE | None
| Portenta H7 | None
| Due | `serialEvent()` +
`serialEvent1()` +
`serialEvent2()` +
`serialEvent3()`
| 101 | `serialEvent1()`
|======================================================
[%hardbreaks]


Expand Down Expand Up @@ -57,23 +84,6 @@ Nothing
// OVERVIEW SECTION ENDS


// HOW TO USE SECTION STARTS
[#howtouse]
--

[float]
=== Notes and Warnings
`serialEvent()` doesn't work on the Leonardo, Micro, or Yún.

`serialEvent()` and `serialEvent1()` don't work on the Arduino SAMD Boards

`serialEvent()`, `serialEvent1()``serialEvent2()`, and `serialEvent3()` don't work on the Arduino Due.
[%hardbreaks]

--
// HOW TO USE SECTION ENDS


// SEE ALSO SECTION
[#see_also]
--
Expand Down