brenodee wrote on Tuesday, March 04, 2008:

The xTaskGetTickCount() works on Atmega128? Which changes is necessary to get it working?


kuppi wrote on Tuesday, March 04, 2008:

That’s really less information, but in general of course the xTaskGetTickCount() works on Atmega128. Make sure that the timer is running and the tick interrupt service routine in the port.c is called, because this is incrementing the tick counter.
You need to initialise the xLastWakeTime variable with the current time as in the sample description: xLastWakeTime = xTaskGetTickCount();
Then your created task is able to wait for an amount of time: vTaskDelayUntil(&xLastWakeTime, xFrequency);

For more help, we need more information.