Has anyone developed an illuminated version of the panel push button object? Especially, one that can be set to any color in the palette?
Real world example: https://www.digikey.com/-/media/Images/ ... 745d3ee307
(am using FC 6)
Illuminated push button object
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Illuminated push button object
That would be a nice component to have, I'm thinking the LED would be able to be independent from the switch if required. e.g. two port pin properties, one for the switch and the other for the LED. If both connected to the same pin then for example it would light when clicked.
We have a tutorial on how to make an LED in v6 here, adding the switch should be quite simple.
https://www.matrixtsl.com/wiki/index.ph ... _Component
Which component category would the component live under? I'm guessing it's better placed under the input category?
If I get some time I might have a quick go at this.
We have a tutorial on how to make an LED in v6 here, adding the switch should be quite simple.
https://www.matrixtsl.com/wiki/index.ph ... _Component
Which component category would the component live under? I'm guessing it's better placed under the input category?
If I get some time I might have a quick go at this.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 69
- Joined: Mon Mar 23, 2015 5:34 am
- Has thanked: 30 times
- Been thanked: 15 times
- Contact:
Re: Illuminated push button object
Thanks for the reply.
In reality, such buttons come in two kinds: those where the LED (or neon) is internally wired to the switch so that it signals the switch's status as on of off, and those where the LED is independent of the switch and can be wired to signal the status of the switch or the status of another component.
In order to provide maximum flexibility, the LED should indeed have separate terminals.
I have an application where the switch's internal LED has 3 operating modes: off, on, or blinking, and the blink rate and sequence signals a status code.
As to whether the proposed object is input or output? I guess it's actually in the category of Input/Output but its primary role is an input component.
Thanks also for the link.
In reality, such buttons come in two kinds: those where the LED (or neon) is internally wired to the switch so that it signals the switch's status as on of off, and those where the LED is independent of the switch and can be wired to signal the status of the switch or the status of another component.
In order to provide maximum flexibility, the LED should indeed have separate terminals.
I have an application where the switch's internal LED has 3 operating modes: off, on, or blinking, and the blink rate and sequence signals a status code.
As to whether the proposed object is input or output? I guess it's actually in the category of Input/Output but its primary role is an input component.
Thanks also for the link.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Illuminated push button object
Sorry I dropped the ball on this one.
Would you like to see the component in v6 or v7?
Would you like to see the component in v6 or v7?
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Illuminated push button object
Here's a real quick go that seems to work ok, though doesn't cover the blinking mode you raised earlier unless you control the blinking yourself in software.
Created in v7 but should also work in v6.
Created in v7 but should also work in v6.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel