Skip to main content

Raspberry Pi Hello World

Overview

This example shows how to use a statechart and some C code to control a RGB LED attached to the Raspberry Pi.

To compile it for the Pi, you need a cross compiler set up, or you need to compile it directly on the Pi.

The project was designed on a Linux machine and uses the pthread library.

For further instructions, please see the associated blog post.

Get this example

The complete project — statechart models, sources and build files — lives in the itemis CREATE examples repository. Inside itemis CREATE for Eclipse you can import it directly with the example wizard.