In the previous chapter, we looked at the internals of PIC microcontrollers and briefly discussed what features are available for us to develop our applications with them. When looking at the block diagram, one of the things we saw was the ports. As was described, the ports are registers that give us access to the pins of the microcontroller. The ports on the PIC16F devices can be used for input or output and can provide access to the many peripherals onboard the microcontroller. ...
5. Input and Output
Get Programming PIC Microcontrollers with XC8: Mastering Classical Embedded Design 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.