I research on net that how I use gpio control. I don't find enough information. and I don't understand codes. I am using only a code ( system("echo high /sys/class/gpio/gpio37/direction"). I want to read gpio and understand to was written codes. I saw a lot of c++ code where I write this code. I read linux documents but I don't understand :(((
how read button from qt :(
my Qt creator hasn't got #include <linux/gpio.h> . I saw when a lot of project are using this library but I don't find in my creator
shaco, thank you very much. I tried your code. now correctly is working. Where should I learn any more. I have to learn any more because my undergraduate project covers DC motors , sensors(i2c) and CMOS camera . I am looking forward to your idea....