Mcube MC3479 Quick Start Manual And Demo page 10

Table of Contents

Advertisement

MC3479 3-Axis Accelerometer
Now open the serial terminal window at 115,200 baud rate speed to begin the test.
You will see the output from the serial terminal showing the current range scale and resolution
of the sensor in the first three lines followed by two lines of output sensor data at some output
data rate which depict "raw count" data for line 1: X: 174 Y: 21 Z: 4074 with 8G range, 16bit
ADC resolution. Line 2 indicates the SI units for measuring acceleration as X: 0.42 m/s^2 Y:
0.05 m/s^2 Z: 9.75 m/s^2.
To enable FIFO mode, which is controlled by the configurations below. FIFO size could be set
up to maximum 31 samples. Enable FIFO threshold interrupt will automatically enable FIFO
feature.
/*** FIFO control ***/
int FIFO_THRE_SIZE = 30;
/* FIFO Interrupt */
const bool enableFifoThrINT = false;
/* For FIFO feature, enable FIFO interrupt will automatically enable
FIFO feature */
bool enableFIFO = false;
mCube Proprietary.
© 2020 mCube Inc. All rights reserved.
EV3479A Quick Start Guide and Demo
APS-045-0034v1.0
10 / 20

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ev3479a

Table of Contents