Chapter 9

I/O Circuits and Programs

9.1  Simple Input and Output

In this chapter we introduce embedded circuits and programming operations. We start with simple input and output devices that are controlled by one of the most basic PICs of the mid-range family (the 16F84A). Although using a PIC to control an LED or to read a switch is as elementary as it gets, these operations are by no means trivial to the beginner because they require building a working circuit and developing and installing the corresponding PIC program. Later in the chapter we progress to more complex input/output devices, including the Seven-Segment LED display and circuits with multiple switches. One of the circuits uses a bank of multiple LEDs to function as a binary output ...

Get Embedded Systems Circuits and Programming 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.