Compare RGBW Alpha Color Value
Jump to navigation
Jump to search
File:TArduinoCompareRGBWAlphaColorValue.png
Summary
Compares an input RGBW alpha color against a predefined value and outputs the result as a boolean.
Description
The **Compare RGBW Alpha Color Value** component evaluates the incoming RGBW 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 RGBW alpha color values match or differ from a target.
Diagram:
Categories
- File:TArduinoColorCategory.png Category Color – Components for processing and comparing RGBW 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 RGBW alpha color value to compare against.
Pins
Input Pins
- In – Incoming RGBW alpha color value to be compared.
Output Pins
- Out – Boolean output indicating the comparison result.