Program exercise · Easy · Ladder · 7 min · Free

Count the boxes

Count boxes passing a sensor and turn on a lamp when five have passed.

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

How it is checked.

  • A count-up counter on the sensor
  • Done at a preset of 5
  • The lamp follows the done bit

Part of Counters. All practice exercises.