max-value

amperka/colony/max-value

Node for Amperka "Colony kit". May be used for scanning for maximum value via analog sensor attached to a servo. Spins servo from 0° to 180°, gets maximum value of analog data and then spins servo to the angle where the max value was.
max-value
@/max-value
Node for Amperka "Colony kit". May be used for scanning for maximum value via analog sensor attached to a servo. Spins servo from 0° to 180°, gets maximum value of analog data and then spins servo to the angle where the max value was.
VALnumber
Analog sensor data value [0...1.0]
STPnumber
Search step quantity [2...180]. Degrees of each step = 180 / STP
ENboolean
max-value
VAL
STP
EN
MEM
ANG
DONE
DONEpulse
Fires when done
ANGnumber
Current servo angle [0...1.0]
MEMnumber
Found maximum angle value stored in memory [0...180]
To use the node in your project you should have the amperka/colony library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.