Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 467 Bytes

button.md

File metadata and controls

11 lines (6 loc) · 467 Bytes

Button module

The button module provides button press event handling functionality for the application. It uses the dk_buttons_and_leds library to detect button presses and publishes these events through a zbus channel for other modules to consume.

Messages

The button module communicates via the zbus channel BUTTON_CHAN.

Output Messages

  • The module publishes a message with payload of type uint8_t with the button number that has been pressed.