micro-controller course lec 02
DESCRIPTION
The full micro-controller course second lectureTRANSCRIPT
PIC16F877A
Hardware Guide
Micro-controller Course Mohamed Fadel Barakat
AgendaPin diagram.Block diagram.Supply Voltage.The Clock Source.Parallel I/O ports.
Pin Diagram
Bloc
k D
iagr
am
Supply Voltage
Power-on Reset
The Clock Source
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
Reference• Best Recommended Book “Advanced PIC
Microcontroller Projects in C” for Dogan Ibrahim.
• PIC16F877A datasheet.
The End
Questions??