Developer World
Spresense Arduino Library v3.3.0-b2e6327
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
29#ifndef __APPLICATIONSENSOR_H
30#define __APPLICATIONSENSOR_H
31
32#include <SensorClient.h>
33
34
36{
37public:
38
39 int subscribe(sensor_command_data_mh_t& data);
40
41private:
42
43};
44
46{
47public:
48
49 int subscribe(sensor_command_data_mh_t& data);
50
51private:
52
53};
54
55extern ApplicationSensorClass ApplicationSensor;
56extern StepCountReaderClass StepCountReader;
57
58
59#endif /* __APPLICATIONSENSOR_H */
Sensor Library Class for Arduino on Spresense.
Definition: ApplicationSensor.h:36
Definition: SensorClient.h:160
Definition: ApplicationSensor.h:46