Page 10 - Making PIC Microcontroller Instruments and Controllers
P. 10
r coNtENts
Chapter 17 Undetstanding the Counters: Counting Marbles 233
Prcie.13 233
Counting wllh an Escapement 240
Notes 243
Some Real-World
Counl ng to a Begisler Using an Inlerrupt 244
Counling Direcily into an Inlernal Counter 2.16
Using Timerl ln Counler l,lode 248
Special Noies forTimerl Usage 256
Chapter lg A Dual Thermometer Instrument 259
Ptoiect4 259
Chapter 19 An Artificial Horizon: A Table Suface Thal
Stays Level 269
Projecl5 269
Discussion 220
Selting Up lhe Hardware Connscliofs 2zl
Building the Anliclal HorizonTable 275
Gravily Sensor Exercises 2zZ
Chapter 20 Bulldlng a Sinple Elght-Button Touch Panel 279
Projecl6 279
Chapter 2l Single Set Point Controller with nemote
fnhiblt Capability 295
Prc)ecl7 293
Chapler 22 Logging Data trom a Solar Collector 3Ol
I
Project 301
l,{icrocontrollerHardware 344
Soitware 306
Chapter 23 Debugging 3t5
General 315
dnd TroLbesSoolinq l15
Deouggrng
Cryslal
Firsi Problem That [,{usi Be Fixed:The N,4icrocontroller
Nlust Oscillale 316
ll the Chip Reluses lo Bun 318
Using the PBP Compler Commands io Help Debug a Program 319
That Can Pfovide Debug Oulpul lo a Se al Porl
Comrnands 319
DLrmb Terminal Programs 319
SolderlessBreadboards 320
Debugging ai the Practical Level 320
Conliguring 16F877A and Reiated Noies 324
lhe
Seit ngs 326
Contiguraton 326
Oplions 327
Simple Checks 322