Auto Repeat Button

From Visuino
Jump to navigation Jump to search

File:TArduinoAutoRepeatButton.png

Summary

Generates repeated output pulses when the input button is pressed and held.

Description

The **Auto Repeat Button** component provides an automatic key-repeat function, similar to how a keyboard key works. When the input signal goes HIGH, the component waits for the configured Initial Delay before generating the first repeated pulse. After that, it continues to emit pulses at the set Repeat Frequency as long as the input remains HIGH. This is useful for navigation controls, menu scrolling, or any system that requires continuous action while a button is held down.

Diagram:

Categories

Properties

  • Enabled – Enables or disables the component.
  • Initial Delay (mS) – Delay before starting auto-repeat (default = 1000 ms).
  • Repeat Frequency (Hz) – The frequency of repeated pulses (default = 5 Hz).

Pins

Input Pins

  • In – Digital input (button press).

Output Pins

  • Out – Digital output (repeated pulses while input is held).