Request for adding second led to existing hal push button
- Benb
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 154
- Thank you received: 54
10 Jun 2025 22:14 #330106
by Benb
Request for adding second led to existing hal push button was created by Benb
Attachments:
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7929
- Thank you received: 2151
11 Jun 2025 05:12 #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 or Create an account to join the conversation.
- Benb
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 154
- Thank you received: 54
11 Jun 2025 20:22 - 11 Jun 2025 20:23 #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 ...
Last edit: 11 Jun 2025 20:23 by Benb.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7929
- Thank you received: 2151
12 Jun 2025 03:38 #330187
by cmorley
Replied by cmorley on topic Request for adding second led to existing hal push button
Attachments:
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.110 seconds