foxOnTheRun
Joined: 17 Apr 2010 Posts: 43
|
PICC Wizard and 16F690 |
Posted: Mon Dec 13, 2010 10:16 am |
|
|
Hi, it's been a long time since my last wizard with PIC-C, I've seen that with version 4.114 the wizard for the 16F690 pic won't show any analog PINs to configure (the window is all grey), more, setup sentences after the void main() line where somewhat like:
Code: | setup_adc_ports(NO_ANALOGS|VSS_VDD);
setup_adc(ADC_CLOCK_DIV_2);
setup_spi(SPI_SS_DISABLED);
setup_timer_0(RTCC_INTERNAL|RTCC_DIV_1);
setup_timer_1(T1_DISABLED);
setup_timer_2(T2_DISABLED,0,1);
setup_ccp1(CCP_OFF);
setup_comparator(NC_NC_NC_NC);
setup_oscillator(OSC_8MHZ); |
Now they are reduced to
Code: | setup_comparator(NC_NC_NC_NC);// This device COMP currently not supported by the PICWizard
setup_oscillator(OSC_8MHZ); |
Last compiler version I used was somewhat around 4.09x or 4.08x.
I've seen that use delay directive has also changed, now there is (int=xxx...) rather than (clock=xxx..).
Some definition files went wrong? _________________ Listen, why don't you relax? Take a pill, bake a cake or go and read the encyclopedia. |
|