Accessing Push Button Event From Digilent Zybo FPGA Board Running Petalinux
-
wrote on 18 Sept 2018, 20:18 last edited by
Hi,
can anyone help me undestand how i can link my QT application to the push button of my fpga board. For example i would like to have MY QT application display a messag when the PushButton is Pressed. -
Hi and welcome to devnet,
Where will your application be running ?
-
wrote on 18 Sept 2018, 20:47 last edited by
Hey so far i have it runnning on the board.
-
How is that button seen by your system ?
-
wrote on 18 Sept 2018, 21:08 last edited by
i believe it is seen as a memory location. I designed the FPGA layout and used that to build a PetaLinux system. I can succesfully test all the Leds and Pushbutton in the linux terminal using the demo application provided.
-
Then you should extract the necessary components from the example in order to create a small library that can be used to get the information you want.
-
wrote on 18 Sept 2018, 21:51 last edited by
I had the exact same idea. It didnt go well the folder of said GPIO-demo app contains a .c file , a make file, and a .bb file . Are those importable into QT.
-
Qt is a C++ framework, so yes you can use C code.
8/8