samples: button: add a note about the input subsystem and samples

The button sample is really a gpio interrupt sample, one may easily miss
the debounced driver and think it's not provided.

Add a note in the basic button sample documentation to refer to the
input subsystem doc and sample.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
Fabio Baltieri 2024-07-25 11:50:26 +00:00 committed by Fabio Baltieri
parent 2b2a0e04b2
commit 2455291da8
1 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,10 @@ Overview
A simple button demo showcasing the use of GPIO input with interrupts.
The sample prints a message to the console each time a button is pressed.
.. NOTE:: If you are looking into an implementation of button events with
debouncing, check out :ref:`input` and :zephyr:code-sample:`input-dump`
instead.
Requirements
************