This is the documentation for the latest (main) development branch. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

Event Component

Overview

This example demonstrates the use of the Event component to send and listen for events.

Requirements

None.

Building and flashing

Example Location: examples/event

For compiling, burning, and others, see: Quick Start Guide

Running result

If it runs successfully, it will output the following logs.

user event in all: 1 2
user event in group: 1 2
user event 1 2