20#ifndef MBED_INTERFACE_DIGITALOUT_H_
21#define MBED_INTERFACE_DIGITALOUT_H_
31#ifdef FEATURE_EXPERIMENTAL_API
37 virtual ~DigitalOut() =
default;
38 virtual void write(
int value) = 0;
39 virtual int read() = 0;
40 virtual int is_connected() = 0;
42 DigitalOut &operator= (
int value)
49 DigitalOut &operator= (DigitalOut &rhs)
A digital output, used for setting the state of a pin.