Skip to content

Fully document serialEvent() support for all Arduino boards #800

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
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