Difference between revisions of "Component: MIAC Basic (MIAC: Addon Modules)"
From Flowcode Help
Jump to navigationJump to searchLine 15: | Line 15: | ||
Basic Addon expansion module for MIAC System | Basic Addon expansion module for MIAC System | ||
− | ==Component | + | ==Component Source Code== |
− | + | Please click here for the component source code: [https://www.flowcode.co.uk/wikicopy/componentsource/FC_Comp_Source_ma_basic.fcfx FC_Comp_Source_ma_basic.fcfx] | |
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
''No detailed description exists yet for this component'' | ''No detailed description exists yet for this component'' | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 324: | Line 328: | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
+ | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | PWM | ||
+ | |- | ||
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-21-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-21-icon.png]] | ||
Line 344: | Line 352: | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} |
Revision as of 17:53, 9 November 2022
Author | |
Version | 1.0 |
Category | MIAC: Addon Modules |
Contents
MIAC Basic component
Basic Addon expansion module for MIAC System
Component Source Code
Please click here for the component source code: FC_Comp_Source_ma_basic.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
![]() |
PWM_Enable |
Enable the PWM on Channel 1 or 2 | |
![]() |
Channel |
PWM Channel 1 or 2 | |
![]() |
Return |
![]() |
MIAC_Module_SetData |
![]() |
Count |
![]() |
D0 |
![]() |
D1 |
![]() |
D2 |
![]() |
D3 |
![]() |
D4 |
![]() |
D5 |
![]() |
Return |
![]() |
MIAC_Module_Init |
![]() |
CAN_ID |
![]() |
Return |
![]() |
MIAC_Module_GetData |
![]() |
Index |
![]() |
Return |
![]() |
MIAC_Module_Message |
![]() |
CAN_ID |
![]() |
CMD_ID |
![]() |
Return |
![]() |
LED_Control |
Sets the indicator LED On (State=1) or Off (State=0) | |
![]() |
State |
![]() |
Return |
![]() |
MIAC_Module_PushData |
![]() |
Data |
![]() |
Return |
![]() |
PWM_Disable |
Disable the PWM on Channel 1 or 2 | |
![]() |
Channel |
PWM Channel 1 or 2 | |
![]() |
Return |
![]() |
DigitalOutput |
Set a Terminal Output to High (Value=1) or Low (Value=0) | |
![]() |
Terminal |
![]() |
Value |
![]() |
Return |
![]() |
AnalogInput |
Read the ADC value of a Terminal Returns 12 bit ADC reading | |
![]() |
Terminal |
Terminal number to be read | |
![]() |
Return |
![]() |
Initialize |
Forces a software reset on the module | |
![]() |
Return |
![]() |
PWM_SetDuty |
Sets the PWM Duty cycle on Channel 1 or 2 | |
![]() |
Channel |
PWM Channel 1 or 2 | |
![]() |
Duty |
Duty cycle (8 bit value) | |
![]() |
Return |
![]() |
DigitalInput |
Read the value of a terminal | |
![]() |
Terminal |
![]() |
Return |
Property reference
![]() |
Properties |
![]() |
Module Type |
![]() |
Module Address |
![]() |
PWM |
![]() |
Period Overflow |
![]() |
Prescaler |
![]() |
Frequency (KHz) |
![]() |
Period (uS) |