I am trying to use the 12-bit ADC block in the 33FJ256MC710, I drop the block and select channels 0-7 and I get the following error when I compile:
Code: Select all
SPIMasterNoDMA.c:167: error: 'ADC1BUF1' undeclared (first use in this function)
SPIMasterNoDMA.c:167: error: (Each undeclared identifier is reported only once
SPIMasterNoDMA.c:167: error: for each function it appears in.)
SPIMasterNoDMA.c:168: error: 'ADC1BUF2' undeclared (first use in this function)
SPIMasterNoDMA.c:169: error: 'ADC1BUF3' undeclared (first use in this function)
SPIMasterNoDMA.c:170: error: 'ADC1BUF4' undeclared (first use in this function)
SPIMasterNoDMA.c:171: error: 'ADC1BUF5' undeclared (first use in this function)
SPIMasterNoDMA.c:172: error: 'ADC1BUF6' undeclared (first use in this function)
SPIMasterNoDMA.c:173: error: 'ADC1BUF7' undeclared (first use in this function)
Thanks
Mariano