Blinking LED

Learn the simplest thing you can do with a GrovePi: Blink a LED.

4. Software

Running the Program:

The example program for this project is shown below. To run the program, change directory on your Raspberry Pi to the GrovePi/Software/Python folder.

1

cd /GrovePi/Software/Python

Run the grove_led_blink.py python program:

1

sudo python grove_led_blink.py

The Grove LED will start blinking.

Source Code

The source code for the example can be found here.