Component: MIAC NXT / ECU (MIAC Module): Difference between revisions
Appearance
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"" |
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead"" |
||
| Line 68: | Line 68: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DisplayClear''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DisplayClear''' | ||
|- | |- | ||
| Line 82: | Line 82: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DisplayClearLine''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DisplayClearLine''' | ||
|- | |- | ||
| Line 101: | Line 101: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DisplayCursor''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DisplayCursor''' | ||
|- | |- | ||
| Line 125: | Line 125: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DisplayGetCursorPosition''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DisplayGetCursorPosition''' | ||
|- | |- | ||
| Line 144: | Line 144: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DisplayPixel''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DisplayPixel''' | ||
|- | |- | ||
| Line 173: | Line 173: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DisplayPrintASCII''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DisplayPrintASCII''' | ||
|- | |- | ||
| Line 192: | Line 192: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DisplayPrintFloat''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DisplayPrintFloat''' | ||
|- | |- | ||
| Line 216: | Line 216: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DisplayPrintFormattedNumber''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DisplayPrintFormattedNumber''' | ||
|- | |- | ||
| Line 240: | Line 240: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DisplayPrintNumber''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DisplayPrintNumber''' | ||
|- | |- | ||
| Line 259: | Line 259: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DisplayPrintString''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DisplayPrintString''' | ||
|- | |- | ||
| Line 278: | Line 278: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Initialise''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Initialise''' | ||
|- | |- | ||
| Line 292: | Line 292: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''InputAnalogByte''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''InputAnalogByte''' | ||
|- | |- | ||
| Line 311: | Line 311: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''InputAnalogInt''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''InputAnalogInt''' | ||
|- | |- | ||
| Line 330: | Line 330: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''InputDigital''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''InputDigital''' | ||
|- | |- | ||
| Line 349: | Line 349: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Print''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Print''' | ||
|- | |- | ||
| Line 388: | Line 388: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadEEPROM''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadEEPROM''' | ||
|- | |- | ||
| Line 407: | Line 407: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadKeypad''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadKeypad''' | ||
|- | |- | ||
| Line 421: | Line 421: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadTransistorOutputCurrent''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadTransistorOutputCurrent''' | ||
|- | |- | ||
| Line 440: | Line 440: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadUSBConnected''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadUSBConnected''' | ||
|- | |- | ||
| Line 454: | Line 454: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RelayOutputState''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RelayOutputState''' | ||
|- | |- | ||
| Line 478: | Line 478: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TransistorOutputState''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TransistorOutputState''' | ||
|- | |- | ||
| Line 502: | Line 502: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TransistorPWMDuty''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TransistorPWMDuty''' | ||
|- | |- | ||
| Line 531: | Line 531: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TransistorPWMEnable''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TransistorPWMEnable''' | ||
|- | |- | ||
| Line 560: | Line 560: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''WriteEEPROM''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''WriteEEPROM''' | ||
|- | |- | ||
Revision as of 14:17, 13 July 2026
| Author | Matrix TSL |
| Version | 1.1 |
| Category | MIAC Module |
MIAC NXT / ECU component
Component to drive the MIAC NXT / MIAC ECU range of hardware.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_MIAC_NXT_Component_Source.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_MIAC_NXT_Component_Source.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
DisplayClear
| DisplayClear | |
| Clears all text from the display | |
| Return | |
DisplayClearLine
| DisplayClearLine | |
| Clears a single line of text from the display | |
| Line | |
| Line to clear. Range 0 to CharacterHeight - 1 | |
| Return | |
DisplayCursor
DisplayGetCursorPosition
| DisplayGetCursorPosition | |
| Gets the current pixel position of the cursor within the coordinate space | |
| Axis | |
| 0=X, 1=Y | |
| Return | |
DisplayPixel
| DisplayPixel | |
| Sets or clears a pixel at location X, Y. | |
| X1 | |
| Y1 | |
| State | |
| 0=Off / 1=On | |
| Return | |
DisplayPrintASCII
| DisplayPrintASCII | |
| Prints a single ASCII character to the display | |
| Character | |
| Holds an ASCII value e.g. 'A' | |
| Return | |
DisplayPrintFloat
| DisplayPrintFloat | |
| Prints a formatted floating point number to the display | |
| Number | |
| DecimalPoints | |
| Number of decimal points to display | |
| Return | |
DisplayPrintFormattedNumber
DisplayPrintNumber
| DisplayPrintNumber | |
| Prints a number to the display as an ASCII string | |
| Number | |
| Enter the number or variable to print to the display | |
| Return | |
DisplayPrintString
| DisplayPrintString | |
| Prints a string of ASCII characters to the display | |
| Text | |
| Enter the text or variable to print to the display | |
| Return | |
Initialise
| Initialise | |
| Starts up the MIAC IO and display. | |
| Return | |
InputAnalogByte
| InputAnalogByte | |
| Reads one of the input channels ( IN1 - IN8 ) as an analogue value with range 0-255 | |
| Channel | |
| Range: 1 - 8 | |
| Return | |
InputAnalogInt
| InputAnalogInt | |
| Reads one of the input channels ( IN1 - IN8 ) as an analogue value with range 0-4095 | |
| Channel | |
| Range: 1 - 8 | |
| Return | |
InputDigital
| InputDigital | |
| Reads one of the input channels ( IN1 - IN8 ) as a digital value with range 0-1 | |
| Channel | |
| Range: 1 - 8 | |
| Return | |
ReadEEPROM
| ReadEEPROM | |
| Read a single byte from the EEPROM. | |
| Address | |
| Return | |
ReadKeypad
ReadTransistorOutputCurrent
ReadUSBConnected
| ReadUSBConnected | |
| Checks to see if there is an active USB cable connected to the MIAC. Returns 1 if there is a USB cable present, otherwise returns 0. | |
| Return | |
RelayOutputState
TransistorOutputState
TransistorPWMDuty
TransistorPWMEnable
WriteEEPROM
| WriteEEPROM | |
| Write a single byte to a location in the EEPROM. | |
| Address | |
| Data | |
| Return | |