Spresense Arduino Library
v3.4.5-a526a83
Loading...
Searching...
No Matches
ApplicationSensor.h
Go to the documentation of this file.
1
/*
2
* ApplicationSensor.h - Sensing include file for the Spresense SDK
3
* Copyright 2019 Sony Semiconductor Solutions Corporation
4
*
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Lesser General Public
7
* License as published by the Free Software Foundation; either
8
* version 2.1 of the License, or (at your option) any later version.
9
*
10
* This library is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* Lesser General Public License for more details.
14
*
15
* You should have received a copy of the GNU Lesser General Public
16
* License along with this library; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
*/
19
28
29
#ifndef __APPLICATIONSENSOR_H
30
#define __APPLICATIONSENSOR_H
31
32
#include <
SensorClient.h
>
33
34
35
class
ApplicationSensorClass
:
public
SensorClient
36
{
37
public
:
38
39
int
subscribe(sensor_command_data_mh_t& data);
40
41
private
:
42
43
};
44
45
class
StepCountReaderClass
:
public
ApplicationSensorClass
46
{
47
public
:
48
49
int
subscribe(sensor_command_data_mh_t& data);
50
51
private
:
52
53
};
54
55
extern
ApplicationSensorClass
ApplicationSensor;
56
extern
StepCountReaderClass
StepCountReader;
57
58
59
#endif
/* __APPLICATIONSENSOR_H */
SensorClient.h
Sensor Library Class for Arduino on Spresense.
ApplicationSensorClass
Definition
ApplicationSensor.h:36
SensorClient
Definition
SensorClient.h:160
StepCountReaderClass
Definition
ApplicationSensor.h:46
Sensing
ApplicationSensor.h
Generated by
1.13.2