Community news, upcoming events and general discussions
Threads: 28 Posts: 75
Get technical support from the community
Threads: 831 Posts: 4515
Threads: 15 Posts: 54
Tell us how to make XDK better!
Threads: 34 Posts: 112
Share and discuss community member projects
Threads: 32 Posts: 155
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?
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