Degree Computation

Dependencies:   aconno_SEGGER_RTT LSM9DS1 Si7006A20 adc52832_common aconnoMPL115A1 aconno_bsp

Committer:
jurica238814
Date:
Tue Jan 08 13:15:30 2019 +0000
Revision:
5:6d20ad2a69ba
Parent:
0:442d98af8cc7
Small changes.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jurica238814 0:442d98af8cc7 1 SETTING THE TIMINGS WITH THE FOLLOWING 2 DEFINES
jurica238814 0:442d98af8cc7 2
jurica238814 0:442d98af8cc7 3 WAKE_UP_TIME determines how often data is read from sensors
jurica238814 0:442d98af8cc7 4
jurica238814 0:442d98af8cc7 5 ADV_INTERVAL determines how often data is advertised, don't go under 100 ms
jurica238814 0:442d98af8cc7 6
jurica238814 0:442d98af8cc7 7 These are both defined in /main.cpp
jurica238814 0:442d98af8cc7 8
jurica238814 0:442d98af8cc7 9 ACCELERATION FACTOR
jurica238814 0:442d98af8cc7 10
jurica238814 0:442d98af8cc7 11 Acceleration value can be calculated from raw sensor value by the following
jurica238814 0:442d98af8cc7 12 formula:
jurica238814 0:442d98af8cc7 13 acceleration = raw_value * (correction_factor/2^16)