Monnit Mine Java
ContentsIndexHome
PreviousUpNext
HorizonPulseCounterBase.UpdateSensorProfileConfig2 Method
Syntax
Java
public static void UpdateSensorProfileConfig2(Sensor sens, Boolean accumulate, int edge, int filter, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor sens 
the Sensor object to be updated  
Boolean accumulate 
The default is off standard operation reports the number of pulses detected between heartbeats. Accumulate on will accumulate the readings heartbeat after the heartbeat, accumulation rolls over at 65535 (2^16 or 0xFFFF)  
int edge 
determines if the pulses are recorded at the positive or negative edge of a pulse, positive edge = 0, negative edge = 1, and both edges = 2  
int filter 
determines if there is a filter and what Hz its set to, 40 Hz filter = 0, 4 Hz filter = 1, and no filter = 2  
Boolean sendSensorUpdate 
a Boolean flag that lets the sensor know if it should send up the new configuration 

 

sets all data for the ProfileConfig2 configuration available on the sensor  

 

Copyright (c) 2016. All rights reserved.
What do you think about this topic? Send feedback!