Difference between revisions of "Component: DC Motor (Half Bridge) ()"
From Flowcode Help
Jump to navigationJump to searchLine 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 28: | Line 30: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 37: | Line 41: | ||
{{Fcfile|Motors.fcfx|Motors}} | {{Fcfile|Motors.fcfx|Motors}} | ||
− | == | + | ==Macro reference== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
Revision as of 14:12, 20 January 2023
Author | Matrix Ltd. |
Version | 1.1 |
Category |
Contents
DC Motor (Half Bridge) component
DC Motor that can be driven in a single direction using digital output pin.
Component Source Code
Please click here for the component source code: FC_Comp_Source_Motor_simple.fcfx
Detailed description
No detailed description exists yet for this component
Examples
Simple example showing how to drive the motor components and how to create sub assemblies attached to the motor output shafts in the simulation panels.
Motors
Macro reference
![]() |
Stop |
Turn off power to the motor by turning off its pin. | |
![]() |
Return |
![]() |
Start |
Set the motor running by turning on its pin. | |
![]() |
Return |