User Manual

40
Then press Enter to exit. Type in nano 01_blinkLed.py again to see the effect after the
change.
Run the code to make it work. It will be like below:
Further Exploration
If you w ant the LED to speed up the blinking, just change the delay time. For example,
change the time to delay (200) (for C) or time.sleep(0.2) (for python) in the program,
recompile and run, and then you will see the LED blink faster.
Summary
Raspberry Pi packages many low-level detail designs, w hich ease your way to explore your
own apps. Maybe that is the charm of Raspberry Pi. Now you have already learnt how to use
the Raspberry Pi GPI O to blink an LED. Keep mov ing to the next contents.
FAQ
If you haven't modified the code, you do not need to run make 01_blinkLed again.
make 01_blinkLed
Or a message will appear: make: ’01_blinkLed’ is up to date
It will not appear only when you run the make command after having changed the code
and saved it.
Tips: For any TECHNICAL questions, add a topic under FORUM section on our website
www.sunfounder.com and we'll reply as soon as possible.
SunFounder