Chapter 3 - Digital Input and Output
Review articleOpen access
Abstract:

AbstractThis chapter reviews some fundamental concepts of digital electronic interfacing. It introduces the mbed digital input/output capabilities, along with the necessary application programming interface library elements. A simple C program which controls the mbed digital output is introduced, and its essential features are reviewed. This leads to consideration of further C features, including simple constructs like while, if, for, and switch. The interfacing requirements between the mbed and switches and light emitting diodes are considered, including voltage and current considerations. This is then extended to optosensors, seven-segment displays, and transistor interfacing to larger DC loads. By the end of the chapter the reader will be ready to write simple mbed programs in C, which will interface with a range of digital input/output elements, applying circuits using both the breadboard and the mbed application board.

Request full text

References (0)

Cited By (0)

No reference data.
No citation data.
Advertisement
Join Copernicus Academic and get access to over 12 million papers authored by 7+ million academics.
Join for free!