The example for lwadc has a test.c but no project, I get a multitude of errors when I add the test_task to a new project. Is there a working example of the lwadc project? Or can someone tell me how to get the test.c to run please?
There is a thread that talks about the lwadc example
but this is for a Tower Board with defines that mean nothing on a customer board. For example
#define BSP_ADC_POTENTIOMETER (ADC0_SOURCE_AD12)
#define BSP_ADC_TWR_AN7 (ADC0_SOURCE_AD8) //DAS
#define BSP_ADC_TWR_AN6 (ADC0_SOURCE_AD9) //DAS
Can someone tell me how to define this so the lwadc would work on the twrk40x256 bsp please? I have searched through the mqx directory and do not see how BSP_ADC_TWR_AN7 would translate in the code to a non tower board.
It almost seems to be an exercise in futility to get these examples to work; why include only part of the code under the examples directory?