User level API

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

User level API

424 Views
jigneshpatel
Contributor III

I have installed QT on Debian on iMX6ul. linux is new for me.

I have also control GPIO using command from bash.

$ echo 133 > /sys/class/gpio/export
$ echo out > /sys/class/gpio/gpio133/direction
$ echo 1 > /sys/class/gpio/gpio133/value //Pin high
$ echo 0 > /sys/class/gpio/gpio133/value //Pin low

My problem is that, I want to communicate with peripheral like GPIO, Bluetooth, Wi-Fi, Ethernet etc from QT.

Which is best way to communicate with peripheral in QT from user application.

Thanks,

Jignesh Patel

0 Kudos
1 Reply

345 Views
igorpadykov
NXP Employee
NXP Employee

Hi Jignesh

please check

Qt 4.6: Qt for Embedded Linux Character Input 

controll led, button, GPIO with QT - FriendlyARM 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos