OS_timeGetSystemTime()
Answer
11/30/17 10:30 AM

Hi There,

I started to use the Examples overview.pdf documents and I try to use the proposed solutions. My last trial is the streaming and to use the Monitor function. 

In added the "printf("[MONITOR]Ambient Light (%llu):Light=%dmilli lux",
                OS_timeGetSystemTime(), (unsigned int) milliLuxData);"
command and it has an error related to OS_timeGetSystemTime(). 

Is anybody can help he: where is that function? Which module I need to include?

Best,

Béla

 

0 (0 Votes)
RE: OS_timeGetSystemTime()
Answer
11/30/17 5:11 PM as a reply to Béla Kozma.

Hello Béla,

The function OS_timeGetSystemTime() is deprecated in the latest XDK-Workbench 3.1.0. The only function with relatively similar functionality would be xTaskGetTickCount(), but this only returns the number of ticks since the task, which calls the function, has started, and not the actual system time.

Regarding the Sensor Monitor, this feature had been removed during the update from the XDK-Workbench 2.0.1 to XDK-Workbench 3.0.0. If you want to try out that feature, I can only recommend installing the XDK-Workbench 2.0.1 and try it out there.

Please note that the Examples Overview document you are using is deprecated as well, since this document has been discontinued with the release of XDK-Workbench 3.0.0.

Please let me know if that was helpful and do not hesitate to ask if you have further questions.

Kind regards,
Franjo

0 (0 Votes)