O'Reilly logo

PIC Projects for Non-Programmers by John Iovine

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

5. Reading Data on Input Lines
In this chapter a port is used to input data. It focuses on reading those data and making decisions based upon the data. Some basic switch configurations are provided which is used to stop and start the binary counting of the program. To implement the switch function, one component (switch), two icons (Input and Decision) and a new variable are added. It provides detailed information on working of the program. It also provides alternative ways to program a function. Use of Component Macros and Flowchart Macros are also described in the chapter.
Keywords
Port; Data input; Data reading; Switch configurations; Binary counting; Input icons; Decision icons; Component Macros; Flowchart Macros
In Chapter 4 we focused on outputting ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required