Compare Alpha Color Value
Jump to navigation
Jump to search
File:TArduinoCompareAlphaColorValue.png
Summary
Compares an input alpha color against a predefined value and outputs the result as a boolean.
Description
The **Compare Alpha Color Value** component evaluates the incoming alpha color value based on the selected comparison type and a predefined reference value. It is useful for conditional logic, filtering, or triggering events when alpha color values match or differ from a target.
Diagram:
Categories
- File:TArduinoColorCategory.png Category Alpha Color – Components for processing and comparing alpha color values.
Properties
- Compare Type – Defines the comparison operation:
- ctEqual – Checks if input equals the reference value.
- ctNotEqual – Checks if input differs from the reference value.
- ctBigger – Checks if input is greater than the reference value.
- ctSmaller – Checks if input is smaller than the reference value.
- ctBiggerOrEqual – Checks if input is greater than or equal to the reference value.
- ctSmallerOrEqual – Checks if input is smaller than or equal to the reference value.
- Enabled – Enables or disables the component.
- Value – The reference alpha color value to compare against.
Pins
Input Pins
- In – Incoming alpha color value to be compared.
Output Pins
- Out – Boolean output indicating the comparison result.