User Manual
35
If you want to view the code 01_blinkLed.c, press Ctrl + C to stop running the code. Then
type the follow ing command to open it:
nano 01_blinkLed.c
Note: nano is a text editor tool. The command is to open the code file 01_edblinkLed.c by this
tool.
Code Explanation
#include <wiringPi.h>//The hardware drive library designed for the C language of
Raspberry Pi. Adding this library is convenient for hardware initialization, I/O ports,
PWM outputs, etc.
#include <stdio.h>// Standard I/O library. The pintf function used for printing the data
displayed on the screen is realized by this library. There are many other performance
functions for you to explore.
SunFounder