8. Parallel I/O Ports
• Set port direction TRISX {1 IN, 0 OUT}
• Set an output value PORTX
• Read an input value PORTX
• Set an output value and then read back the output
value LATAX
9. Reference
• Best Recommended Book
“Advanced PIC Microcontroller Projects in C” for
Dogan Ibrahim.
• PIC16F877A datasheet.