View Full Version : Setting Vref in 12F675
Peter1960
- 19th March 2005, 04:55
Hi All.
When you use the command ADCIN, does this set Vref automatically to Vdd?
If Not, can someone please advise?
Thanks.
Peter
a.majid
- 23rd March 2005, 01:59
Hi Peter
No.
You must set the bits of ADCON0.
If bit 6=0 ...Vdd is reference.
If bit 6=1 ...AN1(GP1) is reference.(To do this you must set GP1 is analog)
You can find details on page 43 of 132 of Microchip Pic 12F629/675 data sheet.
(www.microchip.com)
a.majid
Powered by vBulletin® Version 4.1.7 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.