QPushButton to control an external Led
sush last edited by
I have a .cpp file to be executed when I click the pushbutton which could possibly be done through signals and slots, now I'm new to qtcreator and hence not getting the idea how to do it, please help me for the same. The main purpose is to on/off a led connected to a beaglebone black through this pushbutton.
You should first read this: http://doc.qt.io/qt-5.5/signalsandslots.html
It explains how signals/slots work and contains examples.