robertspark/components@0.2.0

License: AGPL-3.0

Window Comparator Node Pneumatic Valve Control Node PulseIn PulseInLong
NodeDescription
example-pneumatic-control-valve
Compares a VALUE to a LOW and HIGH value, if the VALUE is GREATER than / EQUAL to the HIGH value a TRUE is emitted on one of th output pins. if a VALUE is LESS than / EQUAL to the LOW value then a TRUE is emitted on one of the output pins. Otherwise a FALSE output is given on the two output pins. An ENABLE interlock is provided that if not TRUE both outputs remain false
example-pulse-inNo description
example-window-comparator
Compares a VALUE to a LOW and HIGH value, if the VALUE is GREATER than / EQUAL to the HIGH value a TRUE is emitted on one of th output pins. if a VALUE is LESS than / EQUAL to the LOW value then a TRUE is emitted on one of the output pins. Otherwise a FALSE output is given on the two output pins.
pneumatic-valve-control
Compares a VALUE to a LOW and HIGH value, if the VALUE is GREATER than / EQUAL to the HIGH value a TRUE is emitted on one of th output pins. if a VALUE is LESS than / EQUAL to the LOW value then a TRUE is emitted on one of the output pins. Otherwise a FALSE output is given on the two output pins. An ENABLE interlock is provided that if not TRUE both outputs remain false
pulse-in
Reads a pulse (either HIGH or LOW) on a pin. For example, if value is HIGH, pulseIn() waits for the pin to go HIGH, starts timing, then waits for the pin to go LOW and stops timing. Returns the length of the pulse in microseconds or 0 if no complete pulse was received within the timeout. The timing of this function has been determined empirically and will probably show errors in shorter pulses. Works on pulses from 10 microseconds to 3 minutes in length. Please also note that if the pin is already high when the function is called, it will wait for the pin to go LOW and then HIGH before it starts counting. This routine can be used only if interrupts are activated. Furthermore the highest resolution is obtained with large intervals.
testNo description
window-comparator
Compares a VALUE to a LOW and HIGH value, if the VALUE is GREATER than / EQUAL to the HIGH value a TRUE is emitted on one of th output pins. if a VALUE is LESS than / EQUAL to the LOW value then a TRUE is emitted on one of the output pins. Otherwise a FALSE output is given on the two output pins.
pulse-in-longNo description
example-pulse-in-longNo description
To use the nodes in your project you should have the robertspark/components 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.