29#ifndef __ACCELSENSOR_H
30#define __ACCELSENSOR_H
46 int sample_watermark_num,
47 int size_per_sample =
sizeof(
struct accel_float_s));
64 uint32_t subscriptions = 0,
66 int sample_watermark_num = 0,
67 int size_per_sample = 0);
77 unsigned long m_previous_time;
78 MemMgrLite::MemHandle m_mh;
Sensor Library Class for Arduino on Spresense.
Definition: AccelSensor.h:36
bool begin(int id, int rate, int sample_watermark_num, int size_per_sample=sizeof(struct accel_float_s))
Start sensing of Accelerometer.
bool end(void)
Stop sensing of Accelerometer.
int write_data(float x, float y, float z)
1 Sample data write.
Definition: SensorClient.h:160