Trough just puts out zero
May 27 2017 | 3:45 pm
Im trying to get the range of an accelerometers values for scaling - this can change with diffent devices/accelerometrs so I am feeding a scale/zmap object with values from peak and trough for the high and low input values. Peak works fine but trough just seems to put out zero even though the values dont drop below 200 . Ive tried using ZL to filter out zeroes and even put accelerometer data through a switch that doesnt turn on till data is already streaming - but Im only getting zeroes from trough. Any ideas ?