Char Change Only

From Visuino
Jump to navigation Jump to search

File:TArduinoCharChangeOnly.png

Summary

Use this component to output a character only when it differs from the previous input, effectively filtering out repeated characters.

Description

The **Char Change Only** component monitors incoming character data and outputs the character only if it differs from the previously received character. This functionality is useful for reducing redundant data transmission and ensuring that only new input is processed.

- **Enabled**: When enabled, the component actively monitors and processes incoming characters. When disabled, it passes the input through unmodified.

- **In (char)**: Receives the incoming character data.

- **Out (char)**: Outputs the character if it differs from the previous input; otherwise, no output is generated.

This component is particularly useful in scenarios where you want to detect and respond to changes in input, such as monitoring user input or sensor data, without reacting to repeated values.

Diagram:

Categories

Properties

  • Enabled – Toggle the component’s functionality on or off.

Pins

  • In – Character input.
  • Out – Character output.