I use freeRTOS_10_1_1, and I creat only one task. I get ADC value from ADC12, but when I change the sample into voltage, there is something wrong.
After the following floating-point is comouted,:
/* Process the result to get the value in volts */
adcValue = ((float) adcRawValue / adcMax) ;//* (ADC_VREFH - ADC_VREFL);
then the task sleep controlled by follwing command:
but the task will be never entered. why ?
I don't understand the floating-point operation has relationship with running task.
Could you give me some suggestion?