Page 69 - Making PIC Microcontroller Instruments and Controllers
P. 69
REAltltlc l POIEI{TIOMEIEB AttD DtSPL,AYlitc THE RESULTS Ot{ tHE LED BAncBApH 59
al!lf-6,i!i!ni!i6ll Displaying the potenliometer wiper posltion on lhe LCD and lhe
LED bargraph (Conttnued)
paramerers
DEFTAIE A.DC BIAS 8 set nunber of bits in result
DEFTNE A.DC CIOCR 3 set cLock source (3=rc)
DEFXNE .[.DC-S!!|PLEUS 50 set sampling tine in uS
IJOOP: ; sLart loop
lllcl
