Component Creation
Posted: Fri Jun 15, 2018 8:32 pm
A couple of queries on component creation:
I'm working on a simple component which has a couple of 'optional' connections:
If the user leaves these as 'unconnected' a warning is given that the unconnected pins may cause problems. Is there a 'correct' way to allow unconnected pins?
The component will allow one or optionally two controls to be used - is there a way to hide the second set of pins if the user deselects the second controller.
Is there a way to test for a unconnected pin in a macro (this is not an error - the pin can either be connected to a PWM pin or jumpered to 5V on the driver board)
Some FC components have properties with 'collapsible' subsections - I couldn't create these in my own component - how do you go about creating them?
Many thanks
Martin
I'm working on a simple component which has a couple of 'optional' connections:
If the user leaves these as 'unconnected' a warning is given that the unconnected pins may cause problems. Is there a 'correct' way to allow unconnected pins?
The component will allow one or optionally two controls to be used - is there a way to hide the second set of pins if the user deselects the second controller.
Is there a way to test for a unconnected pin in a macro (this is not an error - the pin can either be connected to a PWM pin or jumpered to 5V on the driver board)
Some FC components have properties with 'collapsible' subsections - I couldn't create these in my own component - how do you go about creating them?
Many thanks
Martin