Ignore Char Ranges
File:TArduinoIgnoreCharRanges.png
Summary
Use this component to filter and pass or ignore characters based on specified ranges and conditions.
Description
The **Ignore Char Ranges** component processes incoming character data, allowing you to define specific character ranges to be ignored or passed through. - **Enabled**: When enabled, the component actively filters characters based on the defined ranges. When disabled, it passes all incoming characters unmodified. - **Elements**: This property allows you to define multiple ranges. Each range has the following properties:
- **Ignore Case**: When enabled, the component treats characters as case-insensitive. - **Min**: The minimum character value of the range (e.g., `#0`). - **Max**: The maximum character value of the range (e.g., `#32`). - **Pass Equal Min**: When enabled, the component includes the minimum value in the range. - **Pass Equal Max**: When enabled, the component includes the maximum value in the range.
- **Only Modified**: When enabled, only characters that have changed since the last pass are output.
The component has three pins: - **In**: Receives incoming characters. - **Out**: Outputs characters that are not within the defined ranges. - **Ignored**: Outputs a boolean value indicating whether the incoming character was ignored.
This component is particularly useful for filtering out unwanted characters, such as control characters or other non-printable characters, from a data stream.
Diagram:
Categories
Category Text - Text components category
Properties
- Enabled – Toggle the component’s functionality on or off.
- Elements – Defines the character ranges to be ignored or passed through.
- Only Modified – When enabled, outputs only characters that have changed since the last pass.