I am making the GUI application for an electric bike to display the speed and the battery percentage. I've made use of the already available example, so I do not have to do anything regarding the development of the gui but the place where I am stuck is, the Device Integration.
My question is, do I have to put some operating system in the raspberry pi?
I have to collect the data from GPIO Pins so how do I send this data from the raspberry pi GPIO pins to the GUI application. Should I make use of native statement and write the code that collects the data or should I write in Python, in the Pi's operating system and then somehow collect the data and send it to the GUI?