Don't ad-block us - support your favorite websites. We have safe, unobstrusive, robotics related ads that you actually want to see - see here for more.
0 Members and 1 Guest are viewing this topic.
it converts the analog input from port a to digital input for comparision.the problem in the above program is the statement OpenADC(ADC_FOSC_2 & ADC_LEFT_JUST & ADC_1ANA_0REF, ADC_CH0 & ADC_INT_OFF);//setup adcthe error its showing is "Error [1105] symbol 'ADC_1ANA_0REF' has not been defined"the output is stored in the registers ADRES ADRESH
PORTC=0b11000000;//R7 and R6 bits high Delay100TCx(200); //delay PORTC=0b00000000;//R7 and R6 low Delay100TCx(200);
Started by Hasan999 Software
Started by freddie00 Software
Started by joe61 Software
Started by pacman411 Misc