Free 'Berries':
Applications for the Raspberry Pi
based on the berry-framework


Which buttons must be pressed to switch all LEDs on?

A nice game where circularly arranged buttons control corresponding lights. Be warned: The buttons seem to have there own idea of which LED they want to switch.

This a simple extension of ``Hello``. Change the assignment between buttons and LEDs, add/remove a button etc. to understand the mechanics of a HWD file.


A Cuckoo Clock

Plays various melodies, monitors brightness, controls a motor to move the cuckoo forth and back, offers alarm settings.


Using buttons with delay effects - what do they do exactly?

There is a subtle difference between delays which are bound to a button press event and delays which are bound to the button itself. The difference becomes evident when you press a button while a delay action has already been scheduled.
Electronic engineers call this the re-triggering behavior of an action.


Accessing various hardware devices attached to GPIO pins

This berry shows how to control


Push a button to light a LED

This is the 'Hello World App' for Raspberry Pi computers.

It demonstrates how multiple web clients and a physical push button connected to a GPIO can produce events which change the state of a physical LED attached to a GPIO and of all its virtual representations in connected web clients.


Have fun with a light sword!

The Light Sword is kind of a sceptre which consists of The Sword comes with a variety of functions like producing light effects, playing sounds, showing a digital clock, simulating balances, simulating a traffic light system, audio pitch detection, generating Morse codes etc.


Read One-Wire sensors for temperature and more

This example shows how a (temperature) value can be constantly monitored and how HWD declarations can be used to define ranges of desired values.

These definitions include the ability to control LEDs which indicate "too low / ok / too high" temperature.