Programming Raspberry Pi 2 GPIO using C Language.
This tutorial will guide you to control gpio of raspberry pi using c programming language.
Step 1: Install Git core
sudo apt-get install git-core
Step 2: Download code from git branch,
git clone git://git.drogon.net/wiringPi
Step 3: build and install wiring pi library
cd wiringPi
./build
Step 4: Open your text editor, Nano in my case
Code link
http://www.myelectronicslab.com/tutorial/raspberry-pi-gpio-programming-c-wiring-pi-tutorial/
Step 4: Save , Exit, Compile and Run
Compile: gcc -o blink blink.c -lwiringPi
Run: sudo ./blink
Get RPI Here: http://amzn.to/2hiW12H
Get Relay Here: http://amzn.to/2hiVKgb
I2C Tutorial: https://www.youtube.com/watch?v=vlgQNYB07c4
LCD To I2C : http://amzn.to/2hiVkGD
LCD: http://amzn.to/2hj2pad
Get Both LCD and I2C Here: http://amzn.to/2h8zdSO
Arduino Nano: http://amzn.to/2gn605z
Check Out My other Video Tutorials: https://www.youtube.com/channel/UCjz-bda-fHRlRzehcAX3khw
Do Visit Our Blog for cool projects: http://www.myelectronicslab.com
Thanks!!!!!!!!!!!!
Views |
1
|
Total Views |
1
|
Members Views |
0
|
Public Views |
Actions |
0
|
Likes |
0
|
Dislikes |
0
|
Comments |
Share by mail
Please login to share this video by email.