TWAI: Add receive example (#7550)
This commit addes an example showing how to receive messages using the TWAI driver interface and a CAN transceiver. Specifically, the example demonstrates: - How to configure and install the TWAI drvier - How to poll for TWAI events (i.e., alerts) using twai_read_alerts() - How to handle the various events (such as TWAI_ALERT_RX_DATA) Closes https://github.com/espressif/arduino-esp32/pull/7430Co-authored-by: Stephan Martin <designer2k2@gmail.com>
Showing
Please register or sign in to comment