By Noel Yoo
13 Apr 2016 18:35
Korean
2 Replies
네이티브 애플리케이션 센서 API 문서에 HRM 측정값은 int로 리턴한다고 되어있습니다.
하지만, 다음과 같은 코드를 실행할 경우 정상적인 값이 출력되지 않습니다.
dlog_print(DLOG_INFO, TAG, "%d" , event->values[0]);
그러나 아래 코드와 같이, HRM Sensor 측정값 values[0]을 float 타입으로 받으면, Max와 Min 사이의 값이 정상 출력됩니다.
dlog_print(DLOG_INFO, TAG, "%f" , event->values[0]);
따라서 HRM Sensor 문서 측정값 Type을 int에서 float으로 수정해야 합니다.
Edited by: Noel Yoo on 13 Apr, 2016
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
All Categories
General Support
Tizen .NET
Web Application Development
Native Application Development
SDK & IDE
--------
--------