ADC doesn't compile with 24FJ256DA210
Posted: Mon Nov 21, 2011 4:07 pm
Hello,
Impossible to compile if I use ADC :
Flowcode1.c: In function 'FCD_SPI_Legacy3_FramOutput':
Flowcode1.c:976: warning: implicit declaration of function 'SPI_Byte'
Flowcode1.c: In function 'FCD_ADC0_SampleADC':
Flowcode1.c
error: 'AD1PCFG' undeclared (first use in this function)
Flowcode1.c
error: (Each undeclared identifier is reported only once
Flowcode1.c
error: for each function it appears in.)
Flowcode1.c: In function 'FCD_ADC1_SampleADC':
Flowcode1.c
error: 'AD1PCFG' undeclared (first use in this function)
Flowcode1.c: In function 'FCD_ADC2_SampleADC':
Flowcode1.c
error: 'AD1PCFG' undeclared (first use in this function)
Flowcode1.c: In function 'FCD_ADC3_SampleADC':
Flowcode1.c
error: 'AD1PCFG' undeclared (first use in this function)
Flowcode1.c: In function 'FCD_ADC4_SampleADC':
Flowcode1.c
error: 'AD1PCFG' undeclared (first use in this function)
Flowcode1.c: In function 'FCM_SCROLL':
Flowcode1.c
warning: passing argument 5 of 'FCI_CONCATENATE' discards qualifiers from pointer target type
Flowcode1.c
warning: passing argument 1 of 'FCI_GETLENGTH' discards qualifiers from pointer target type
Flowcode1.c
warning: passing argument 1 of 'FCI_MIDSTRING' discards qualifiers from pointer target type
Flowcode1.c
warning: passing argument 3 of 'FCI_MIDSTRING' discards qualifiers from pointer target type
Flowcode1.c
warning: passing argument 1 of 'FCD_LCDDisplay0_PrintString' discards qualifiers from pointer target type
Flowcode1.c: In function 'FCM_DETECTION_BOUTONS':
Flowcode1.c
warning: suggest parentheses around comparison in operand of &
Error returned from [pic30-gcc.exe]
Can you fix this pb ?
Impossible to compile if I use ADC :
Flowcode1.c: In function 'FCD_SPI_Legacy3_FramOutput':
Flowcode1.c:976: warning: implicit declaration of function 'SPI_Byte'
Flowcode1.c: In function 'FCD_ADC0_SampleADC':
Flowcode1.c
Flowcode1.c
Flowcode1.c
Flowcode1.c: In function 'FCD_ADC1_SampleADC':
Flowcode1.c
Flowcode1.c: In function 'FCD_ADC2_SampleADC':
Flowcode1.c
Flowcode1.c: In function 'FCD_ADC3_SampleADC':
Flowcode1.c
Flowcode1.c: In function 'FCD_ADC4_SampleADC':
Flowcode1.c
Flowcode1.c: In function 'FCM_SCROLL':
Flowcode1.c
Flowcode1.c
Flowcode1.c
Flowcode1.c
Flowcode1.c
Flowcode1.c: In function 'FCM_DETECTION_BOUTONS':
Flowcode1.c
Error returned from [pic30-gcc.exe]
Can you fix this pb ?