Commit 2455291d authored by Fabio Baltieri's avatar Fabio Baltieri Committed by Fabio Baltieri
Browse files

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: default avatarFabio Baltieri <fabiobaltieri@google.com>
parent 2b2a0e04
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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
************