Ramp To Color Value

From Visuino
Jump to navigation Jump to search

File:TArduinoRampToColorValue.png

Summary

Smoothly transitions a color value from its current state to a target value over a defined time.

Description

The **Ramp To Color Value** component gradually changes the input color to the specified target color at a controlled slope. The slope determines the time it takes to transition from the current color to the target. This is useful for creating smooth color fades or visual effects in LEDs, displays, or lighting systems.

Diagram:

Categories

Properties

  • Enabled – Enables or disables the component.
  • Initial Value – The starting color value at initialization.
  • Slope (Sec) – Duration in seconds to reach the target color from the current value.

Pins

Input Pins

  • In – Target color value to transition to.
  • Clock – Triggers the ramp to start using the current target value.

Output Pins

  • Out – The current color value as it ramps toward the target.