nobody wrote on Tuesday, April 26, 2005:
I need to add some time stamps for my sampling, for this I have used following code:
xLastWakeTime = xTaskGetTickCount();
portTickType old_wake_time = xLastWakeTime;
// Wait for the next cycle.
vTaskDelayUntil( &xLastWakeTime, xFrequency );
sprintf(data, " X =%d; Y =%d; Z =%d\r\n", millisek, acc, acc);
Im getting strange values… Why doesn’t this work?