Author |
Message |
Topic: PIC24 not used VREF |
Bingo
Replies: 3
Views: 5784
|
Forum: General CCS C Discussion Posted: Fri Apr 29, 2011 4:16 pm Subject: PIC24 not used VREF |
Problem is solved, if anyone needs an example here:
#bit VCFG_BIT = 0x0322.13 // Define address of VCFG bit
void main()
{
setup_adc_ports(sAN1 | sAN2 | sAN3 | sAN4|VSS_VREF);
setup_adc( ... |
Topic: PIC24 not used VREF |
Bingo
Replies: 3
Views: 5784
|
Forum: General CCS C Discussion Posted: Thu Apr 28, 2011 4:14 pm Subject: PIC24 not used VREF |
Hi,
I use PIC24HJ64GP206 and CCS compiler version 4.114.
I want to measure ADC modules using Vref (I use 2.5V), but whatever I do ADC module uses Vdd. Here is some code I use.
Thank you in advance ... |
|