mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
kxcjk1013: code cleanup and update sensor description
Code cleanup and proper close iio device in destructor. KXCJK-1013 is tri-axis accelerometer from Kionix. This sensor can measure acceleration in metre per second squared or in G-forces. The library provided is libupm-kxcjk1013.so.0.4.0. The example provided is kxcjk1013-example where it will print x,y,z axis when trigger buffer data is ready. Signed-off-by: Lay, Kuan Loon <kuan.loon.lay@intel.com>
This commit is contained in:
parent
456bde0726
commit
c3285ea523
@ -30,6 +30,8 @@
|
||||
|
||||
#define NUMBER_OF_BITS_IN_BYTE 8
|
||||
|
||||
#define NUMBER_OF_BITS_IN_BYTE 8
|
||||
|
||||
using namespace upm;
|
||||
|
||||
KXCJK1013::KXCJK1013(int device)
|
||||
|
Loading…
x
Reference in New Issue
Block a user