Button application on Qt Creator

Purpose of this exercise is to show pressing button on screen of mini2440
Screen of application  

 
      Buttons on mini2440 board
For example, button no.4 on board is pressed, check_box button4 is ticked. In contrast, it is not ticked as button is pressed again.
In code side, application will open button driver on /dev/buttons and read status of button to show it on screen.
All file of this exercise here:
link here

The executable file "bt5" in folder "bt5-build-desktop" can be copied to mini2440 board and run immediately to see the result, run with command:
./bt5 -qws

0 Comments: