Digital To 2D Orientation

From Visuino
Revision as of 06:14, 24 August 2025 by Visuino (talk | contribs) (Created page with "Image:TArduinoDigitalTo2DOrientation.png == Summary == Converts a digital input into one of two predefined 2D orientation states. == Description == The **Digital To 2D Orientation** component maps a single digital input (boolean) to a 2D directional output. When the input is LOW (false), it outputs the configured '''False Value''' orientation (goUp, goRight, goDown, or goLeft). When the input is HIGH (true), it outputs the configured '''True Value''' orie...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

File:TArduinoDigitalTo2DOrientation.png

Summary

Converts a digital input into one of two predefined 2D orientation states.

Description

The **Digital To 2D Orientation** component maps a single digital input (boolean) to a 2D directional output. When the input is LOW (false), it outputs the configured False Value orientation (goUp, goRight, goDown, or goLeft). When the input is HIGH (true), it outputs the configured True Value orientation. This is useful for controlling 2D directional logic in games, navigation systems, or robotic movement controls.

Diagram:

Categories

Properties

  • False Value – 2D orientation to output when input is FALSE (goUp, goRight, goDown, goLeft).
  • True Value – 2D orientation to output when input is TRUE (goUp, goRight, goDown, goLeft).

Pins

Input Pins

  • In – Digital input signal.

Output Pins

  • Out – 2D orientation output corresponding to the input state.