Author |
Message |
Topic: About the VREF+ and VREF- |
maurolarrat
Replies: 5
Views: 9971
|
Forum: General CCS C Discussion Posted: Fri Jun 19, 2009 3:16 pm Subject: About the VREF+ and VREF- |
hi all,
I have a problem with CCS, when I need specify a reference voltage to the ADC in a PIC16F877A, for a value different of 0V and 5V (vref- and vref+, respectivelly).
If you could show me a sch ... |
Topic: FUSES problem... |
maurolarrat
Replies: 6
Views: 7969
|
Forum: General CCS C Discussion Posted: Fri May 08, 2009 12:59 pm Subject: FUSES problem... |
I made like this:
#include <30F2011.h>
#device adc=12
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#FUSES NOWDT //No Watch Dog Timer
# ... |
Topic: FUSES problem... |
maurolarrat
Replies: 6
Views: 7969
|
Forum: General CCS C Discussion Posted: Fri May 08, 2009 9:50 am Subject: FUSES problem... |
Sorry my fault FvM, you are right. I really will use the 2011.
thanks! |
Topic: FUSES problem... |
maurolarrat
Replies: 6
Views: 7969
|
Forum: General CCS C Discussion Posted: Thu May 07, 2009 10:35 am Subject: FUSES problem... |
There whmeade has a half the same problem that me...doesn't help :\
but , a simple ADC with dsPIC30F2010 shouldn't be hard to find out here.
I do need just to do a simple read ADC 12 bits, nothi ... |
Topic: FUSES problem... |
maurolarrat
Replies: 6
Views: 7969
|
Forum: General CCS C Discussion Posted: Wed May 06, 2009 3:55 pm Subject: FUSES problem... |
I'm using the 30F2010 in a ADC 12 bits project, and I configured a custom project in CCS. CCS created a lot of FUSES, like:
#FUSES WDT128
I commented it with // , and the error got to
setup_adc_ ... |
|