source: azure_iot_hub_f767zi/trunk/app_iothub_client/pinkit/accelerometer.h@ 457

Last change on this file since 457 was 457, checked in by coas-nagasima, 4 years ago

ファイルを追加

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-chdr;charset=UTF-8
File size: 437 bytes
Line 
1// https://github.com/ms-iotkithol-jp/IoTKitHoLV3/blob/master/PinKitIoTHubApp/PinKitIoTHubApp/PinKit/Accelerometer.cs
2
3#include <stdint.h>
4#include <stdbool.h>
5
6#ifndef _ACCELEROMETER_H_
7#define _ACCELEROMETER_H_
8
9typedef struct SensorReading
10{
11 double X;
12 double Y;
13 double Z;
14} SensorReading;
15
16bool Accelerometer_Init(int clockRate, int tmout);
17bool Accelerometer_TakeMeasurements(SensorReading *result);
18
19
20#endif // _ACCELEROMETER_H_
Note: See TracBrowser for help on using the repository browser.