Chapter 3 - Digital Input and Output
Review articleOpen access
Rob Toulson - No affiliation found
2017/01/01 Chapter DOI: 10.1016/B978-0-08-100880-5.00003-7
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