Raspberry Pi Control GPIO by C C++

preview_player
Показать описание
Why we use C,C++ instead of Python. Because of when we use C,C++ 12 time speed faster than Python. and also more stable and close with machine language.
This video will show you how to install C,C++ library for raspberry pi, of cause include C,C++ GPIO library.
Then we create a small project to control led in C++ for raspberry pi.
##############################################
@Command to download wiringPI library:
@Once downloaded, go to directory
cd wiringPi
@Then run below command.
./build
------------------------------------------------------------------------------------------------------
Рекомендации по теме
Комментарии
Автор

I will make a final release of wiringPi available soon – with the sources, but that’s that. No more public releases. I’ll still be maintaining it for my own uses and clients, but for everyone else, please look at for alternative GPIO library for on-going projects.

-Gordon, August, 2019.

ventusprime
Автор

Unfortunately, the wiringPi library seems to no longer be downloadable or supported. Any other library suggestions would be appreciated.

gregpetryk
Автор

step 1 error, links die . Can you help me?

antranxuan
Автор

"for(; ;) // while loop" Ok... Umm, would that be similar to: "while (TRUE) // for(; ;) loop"? :)))

gandsnut
Автор

Can you help me? After compiling the program I got message: ** This board is not an Odroid **, Should I do configuration of the wiringPi for RaspberryPi or for Odroid?

marcingrzybowski
Автор

why adding such loud background music to distract viewers.

LL-ueek
Автор

is it "-IwiringPi" "-lwiringPi" or -|wiringPi"? thanks anyway.

MartioViss
Автор

This has all been discontinued long long ago

alfie
Автор

how can I install wiringPi without internet connection in RPi

jayvadodariya