Page 7 - Making PIC Microcontroller Instruments and Controllers
P. 7
CONTENTS
Prefece
PART I The PIC i6FA7?A
Chapter I An Introductlon to the PIC l6Fa77A
Micrcconft!llor Unlt 3
The Microconlroller 7
Speclal Precautlons and Nol€s ol Interosl 9
Data Sh€sls I
Some ljseable PICS 11
Ch.ptor 2 Gettlng Started: The Hardware and Softwar€ Setup 13
Th€ Programm€rc 14
Loadlng th€ Softwar€ 15
Uslng the Sofiware in lhe Windows Environm€nl 15
Softwaro Not6s from l\,4lcroEnginee ng Labs 18
Chapter 3 lJnderat ndlng Mlcroohlp liEchnologyb
plc l6Fa77A! A Descrlptlon ol the MCU 2l
16F877A l\,4icroconlrolle/s Cor6 Features 22
P€rlph€ral Fsatur€s 23
Conllguflng and Controlling lhe Properties of the Porls 29
PORTA 29
PORTB 30
PORTC 31
PORTD 32
PORTE 33
TIIVEFS 33
Chapte.4 The Soflware, the Compilers, and the Editor 35
The Basic Compiler Instruclion Set 35
The PICBASIC PRO Cornpiler Insiruction Sel 3z
PICBASIC PFIO Compiler 42
Chapter 5 Controlling the Output and Reeding th6 Input 47
General 47
ProgramsThal Create Output 48
ProgramsThal Read lhe Inpuls and Then Provide Oulpul 48
Creallng Outputs 48
vii