Program exercise · Medium · Ladder · 10 min · Free

One press, one count

A held button must add exactly one to a count. Use a one-shot so each press counts once, however long it is held.

Opens the exercise in the FORGE workspace. Sign in to have your result checked and earn 120 XP.

How it is checked.

  • A one-shot on the button
  • One press adds exactly one
  • Holding the button adds nothing more

Builds on the lesson The seal-in circuit in ladder logic.

Part of Latches and one-shots. All practice exercises.