SPI communication Raspberry PI
-
wrote on 6 Aug 2021, 18:36 last edited by
Hello All,
I am newbie using qtcreator and raspberry pi.
I am using Raspberry pi 3 B installed Qt Creator 4.8.2.
I succeeded made small application controlling GPIO, now I wanna try SPI communication, but i don't have any clues how to use SPI protocol using QT Creator.
I have a little bit knowledge with electronics
does anybody know how to implement SPI communication protocol in raspberry pi using QT Creator?
if someone has sample code how to implementing it, please let me know
really appreciate if someone can help me.. -
Hi and welcome to devnet,
Qt Creator is just an IDE so do not focus on it. It allows you to easily build and run C/C++ library/application.
You should take a look at this thread on the Raspberry Pi forum which points to a pretty complete code sample that should get you started.
Hope it helps
1/2