Difference between revisions of "Component: Output PWM (DSP Outputs)"
From Flowcode Help
Jump to navigationJump to search (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix Ltd |- | width="20%" style="color:gray;" | Version | 1.2 |- | width="20%" style="color:gray...") |
|||
| Line 14: | Line 14: | ||
==Output PWM component== | ==Output PWM component== | ||
Allows the values from a buffer to be passed directly to an internal PWM output. | Allows the values from a buffer to be passed directly to an internal PWM output. | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Detailed description== | ==Detailed description== | ||
| Line 118: | Line 112: | ||
| width="90%" | Period Register | | width="90%" | Period Register | ||
|- | |- | ||
| − | | colspan="2" | PWM | + | | colspan="2" | Defines the resolution of the PWM duty mark/space ratio. PWM duty can be between 0 (0%) and period (100%). |
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | ||
| Line 140: | Line 134: | ||
| colspan="2" | | | colspan="2" | | ||
|} | |} | ||
| + | |||
| + | ==Component Source Code== | ||
| + | |||
| + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_DSP_PWM.fcfx FC_Comp_Source_DSP_PWM.fcfx] | ||
| + | |||
| + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_DSP_PWM.fcfx FC_Comp_Source_DSP_PWM.fcfx] | ||
Latest revision as of 11:42, 26 November 2024
| Author | Matrix Ltd |
| Version | 1.2 |
| Category | DSP Outputs |
Contents
Output PWM component
Allows the values from a buffer to be passed directly to an internal PWM output.
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
ControlPWM
| ControlPWM | |
| Enable or disable the PWM output, Disabled by default. | |
| State | |
| 0=Disable, 1=Enable | |
| Return | |
OutputPWM
| OutputPWM | |
| Outputs a single value from the input buffer appropriatley scaled to suit the PWM. | |
| Return | |
OutputPWMArray
| OutputPWMArray | |
| Outputs an array of values from the input buffer appropriatley scaled to suit the PWM. | |
| Delay | |
| Delay in microseconds between outputting each sample. | |
| Return | |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_DSP_PWM.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_DSP_PWM.fcfx