Hi
Can the Vref(-) on a pic16f877 be activated with asm code in flowcode?
If not how can it be activated in flowcode?
Enable Vref- with ASM
-
- Posts: 594
- Joined: Thu Sep 17, 2009 7:52 am
- Location: Belgium
- Has thanked: 63 times
- Been thanked: 102 times
Re: Enable Vref- with ASM
You should be able to do it in C. I suppose there's some bit to set in a register for the ADC.
Check the datasheet for Vref-.
Nicolas
Check the datasheet for Vref-.
Nicolas
-
- Posts: 130
- Joined: Sat Feb 26, 2011 4:26 am
- Location: South Africa
- Has thanked: 25 times
- Been thanked: 11 times
Re: Enable Vref- with ASM
Hi Nicolas
Thanks for the reply.
I've changed the Adcon1 bit to 0x08 in flowcode so when you enable Vref+ in the AtoD setup it enable the Vref- also.
Thanks for the reply.
I've changed the Adcon1 bit to 0x08 in flowcode so when you enable Vref+ in the AtoD setup it enable the Vref- also.