Interactive binary playground

Switch the bits.
Build the number.

Turn six bits on or off until their values add up to the target. The same interface can run in a browser or control the original ESP8266-and-LED teaching device.

Represent in binary

Most significant bit Least significant bit
Use the buttons or press keys 16

How it works

Every position is a power of two.

01

Read the target

The challenge gives you a decimal number between 1 and 63.

10

Choose the bits

Each switch contributes 32, 16, 8, 4, 2 or 1 when it is on.

11

Make the sum

When the active values add up to the target, you have its binary representation.