Digital Input and Output
Abstract
This 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 ...
Get Fast and Effective Embedded Systems Design, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.