Customisaton of FLEX demoboard ADC block
Posted: Tue May 24, 2011 3:22 pm
Hello,
For my application ,I have built a daughter board whitch is plugged on the FLEX FULL DEMO BOARD.
So I need to customise FLEX demoboard ADC block called "FLEX_DMB_adcin"
Indeed I need to use :
AN12 (RB12), AN17 (RC2), AN18(RC3) and AN19 (RC4)
So I would like to create a generic block for ADC with the parameter pin number.
The aim is to avoid to go in Evidence folders to change the code when the ADC pin changes.
I have looked into the file :
"flex_daughter_adc.c" located into "C:\Evidence\eclipse\plugins\com.eu.evidence.ee_1.5.1.201003011152\ee_base\contrib\scicos\src\pic30\c"
to try to change standard ADC block pins but without success...
Could you help me to change ADC standard block firstly and to create a custom block secondly ?
Thanks in advance
For my application ,I have built a daughter board whitch is plugged on the FLEX FULL DEMO BOARD.
So I need to customise FLEX demoboard ADC block called "FLEX_DMB_adcin"
Indeed I need to use :
AN12 (RB12), AN17 (RC2), AN18(RC3) and AN19 (RC4)
So I would like to create a generic block for ADC with the parameter pin number.
The aim is to avoid to go in Evidence folders to change the code when the ADC pin changes.
I have looked into the file :
"flex_daughter_adc.c" located into "C:\Evidence\eclipse\plugins\com.eu.evidence.ee_1.5.1.201003011152\ee_base\contrib\scicos\src\pic30\c"
to try to change standard ADC block pins but without success...
Could you help me to change ADC standard block firstly and to create a custom block secondly ?
Thanks in advance