- Posts: 184
- Thank you received: 0
Request for adding second led to existing hal push button
1 year 4 months ago #330106
by Benb
Request for adding second led to existing hal push button was created by Benb
Chris is it possible to add a second hal led to the existing hal push button similar to:
Thank you
Attachment not found
Thank you
Please Log in to join the conversation.
1 year 4 months ago #330124
by cmorley
Replied by cmorley on topic Request for adding second led to existing hal push button
Not easily at the moment.
That particular button uses multiple images for each LED state, Qtvcp draws LEDs on top of the standard button drawing, adding another could easily be added to the code.
Qtvcp could use either technique.
What would control the LEDs? HAL pins ? Toggle state?
That particular button uses multiple images for each LED state, Qtvcp draws LEDs on top of the standard button drawing, adding another could easily be added to the code.
Qtvcp could use either technique.
What would control the LEDs? HAL pins ? Toggle state?
Please Log in to join the conversation.
1 year 4 months ago #330173
by Benb
Replied by Benb on topic Request for adding second led to existing hal push button
Hi Chris,
I will use hal pins to control LEDS status. no toggle.
This push button will probably be popular with qtvcp users since it will mimic certain pathpilot buttons. It will also reduce the amount of real state on screens. I can see it used for pause/resume, jog inc/cont ...
I will use hal pins to control LEDS status. no toggle.
This push button will probably be popular with qtvcp users since it will mimic certain pathpilot buttons. It will also reduce the amount of real state on screens. I can see it used for pause/resume, jog inc/cont ...
Please Log in to join the conversation.
1 year 4 months ago #330187
by cmorley
Replied by cmorley on topic Request for adding second led to existing hal push button
Boring example - but possible:
Attachment not found
Please Log in to join the conversation.
1 year 4 months ago #330239
by Benb
Replied by Benb on topic Request for adding second led to existing hal push button
Looks good and great addition to qtvcp.
And thank you for all your efforts for creating and maintaining qtvcp.
And thank you for all your efforts for creating and maintaining qtvcp.
Please Log in to join the conversation.
Time to create page: 0.156 seconds
