Char On/Off Switch

From Visuino
Revision as of 10:09, 11 August 2025 by Visuino (talk | contribs) (Created page with "Image:TArduinoCharOnOffSwitch.png == Summary == Use this component to control when a character is passed through, based on enable logic and optional state conditions. == Description == The **Char On/Off Switch** component allows character input to be conditionally passed to the output, depending on control logic: - **Enable** pin (boolean) controls whether the character is allowed through. - **Ignore Same** prevents re-sending the same character if it hasn't change...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

File:TArduinoCharOnOffSwitch.png

Summary

Use this component to control when a character is passed through, based on enable logic and optional state conditions.

Description

The **Char On/Off Switch** component allows character input to be conditionally passed to the output, depending on control logic: - **Enable** pin (boolean) controls whether the character is allowed through. - **Ignore Same** prevents re-sending the same character if it hasn't changed since the last output. - **Initial Enabled** sets the starting state (enabled or disabled) when the component initializes. - **Send On Enable** forces the character to be sent immediately when the component becomes enabled.

This is useful when you need controlled character passing—such as edge-triggered output, filtering repeated signals, or honoring enable/disable state transitions.

Diagram:

Categories

Properties

  • Ignore Same – Set to **True** to suppress output if the input character is the same as the previous one.
  • Initial Enabled – Defines whether the switch is enabled at the start.
  • Send On Enable – Set to **True** to immediately send the character when the switch is enabled.

Pins

  • Enable – Boolean input that enables or disables character forwarding.
  • In – The character input to be conditionally passed.
  • Out – The character output, sent when enabled and conditions are met.