this is my first post on english forum. Sorry for my bad english but my primary language is Italian.
I need a help for start a project with raspberry PI + buildroot and QT.
I've installed on my Raspberry PI model B the https://github.com/pbouda/buildroot-qt-dev Buildroot Qt, and configure the QT OpenSource for the cross compiling. Everything works fine.
I want to use c/c++ as primary language form my application ( read a temperature from GPIO , command a relay ..etc)..
The system must be stable.
Which is the best solution for use gpio in c/c++?
- Using Sysfs?
- Using Direct Registry Access?
Please someone have some resource to study?
Thanks a lot.