Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 378 Bytes

File metadata and controls

9 lines (6 loc) · 378 Bytes

DigitalInOut example

You can use the DigitalInOut API to both read and write to a digital pin:

  1. Use the output() and input() function calls to switch modes.
  2. Use just like you would DigitalIn or DigitalOut.

MIRRORED FROM MASTER EXAMPLE SNIPPETS REPOSITORY: mbed-os-examples-docs_only. ANY CHANGES MADE DIRECTLY TO THIS REPOSITORY WILL BE AUTOMATICALLY OVERWRITTEN.