Component: MIAC NXT / ECU (MIAC Module)
From Flowcode Help
Jump to navigationJump to searchAuthor | Matrix TSL |
Version | 1.1 |
Category | MIAC Module |
Contents
- 1 MIAC NXT / ECU component
- 2 Component Source Code
- 3 Detailed description
- 4 Examples
- 5 Macro reference
- 5.1 DisplayClear
- 5.2 DisplayClearLine
- 5.3 DisplayCursor
- 5.4 DisplayGetCursorPosition
- 5.5 DisplayPixel
- 5.6 DisplayPrintASCII
- 5.7 DisplayPrintFloat
- 5.8 DisplayPrintFormattedNumber
- 5.9 DisplayPrintNumber
- 5.10 DisplayPrintString
- 5.11 Initialise
- 5.12 InputAnalogByte
- 5.13 InputAnalogInt
- 5.14 InputDigital
- 5.15 Print
- 5.16 ReadEEPROM
- 5.17 ReadKeypad
- 5.18 ReadTransistorOutputCurrent
- 5.19 ReadUSBConnected
- 5.20 RelayOutputState
- 5.21 TransistorOutputState
- 5.22 TransistorPWMDuty
- 5.23 TransistorPWMEnable
- 5.24 WriteEEPROM
- 6 Property reference
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 |