User manual

The programme
When you click on the green flag, the light is placed in the starting state. The pedestrian light is red, the traffic light green. When you touch the
clay contact, the light cycle runs through. After one cycle, the program waits until the clay contact is touched again.
The programme 10ampel02 controls a pedestrian
light with a clay contact.
Day 11
Today on the Advent calendar
Yellow LED
220-ohm resistor (red-red-brown)
Chaser light
Components: 1xbreadboard, 2xred LED, 2x yellow LED, 2x green LED, 6x220-ohm resistor (red-red-brown), 7xconnection cable
Chaser light with six LEDs
Chaser lights are always favourite effects, not just for advertising and party rooms. The experiment of the eleventh day lets six LEDs run as a
chaser light.
The programme
The programme 11lauflicht uses a list variable, in which the pin numbers of the digital pins that are used for the LEDs are stored. Unlike in
Scratch, lists in Snap do not need to be filled by the programme but can be preallocated with starting values directly in the programme code.
A loop runs over the length of the list and switches the LEDs on individually in sequence for 0.1 seconds each. This loop is repeated infinitely.
The programme 11lauflicht controls a
chaser light using a list variable.
Day 12
Today on the Advent calendar
Blue LED
220-ohm resistor (red-red-brown)
Insulated jumper wire
Today there is insulated jumper wire on the Advent calendar. With it, you create short jumpers with which contact rows on the breadboard are
connected, whereby there is no danger that short circuits with other components exists. Cut the wire with a small pair of side-cutting pliers to the
suitable length. In order to be better able to plug the wires into the breadboard, we recommend cutting them off at a slight angle so that a sort of
wedge results. Strip the insulation from both ends of each jumper to a length of about half a centimetre.
LED dice
Components: 1xbreadboard, 2xred LED, 2x yellow LED, 2x green LED, 1x blue LED, 7x220-ohm resistor (red-red-brown), 1x20-Mohm resistor
(red-black-blue), 7xconnection cable, 5x insulated jumper (varying lengths), 2xclay contact
Switching LED die with seven LEDs using clay sensor
Everyone knows the typical gaming die, which shows 1 to 6 spots, and everyone has one at home. Far cooler is an electronically controlled die
that causes the spots to light up with the push of a button – and not just 1 to 6 LEDs in a row, but in the pattern of a gaming die. These have
spots in the typical square pattern, for which one needs 7 LEDs. To control the LEDs, only 4 digital pins are needed instead of 7, since a die uses