Monnit Mine Java
ContentsIndexHome
PreviousUpNext
PulseCounterBase.UpdateSensorProfileConfig2 Method
Syntax
Pascal
C++
Java
PHP
function UpdateSensorProfileConfig2(sens: Sensor; debounce: Integer; edge: Integer; sendSensorUpdate: Boolean): Pointer;
Parameters 
Description 
Sensor sens 
the Sensor object to be updated  
int debounce 
Milliseconds to wait for confirming positive reading after pulse initially detected. (Debouncing) Recommended 50% of minimum pulse width of input signal.  
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  
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!