Component: MIAC (Arduino-Compatible) (MIAC (Arduino-Compatible)) (Misc)
From Flowcode Help
Jump to navigationJump to search| Author | Matrix TSL |
| Version | 1.2 |
| Category | Misc |
Contents
MIAC (Arduino-Compatible) component
MIAC - Matrix Industrial Automotive Controller (Arduino-Compatible)
Component Source Code
Please click here to download the component source project: FC_Comp_Source_MIAC_(Arduino).fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_MIAC_(Arduino).fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
| RelayOFF | |
| Turns off the requested relay given by parameter RelayID, values 1 to 4 | |
| RelayID | |
| The relay to turn off. From 1 to 4. | |
| Return | |
| InputANALOG_10Bit | |
| InputID | |
| The input to read. From 1 to 8. | |
| Return | |
| PrintString | |
| Prints the given character string to the display at the current cursor position and moves the cursor position. | |
| Str | |
| The string to send to the display. | |
| Return | |
| GetKeypad | |
| Returns the key code of the key that is pressed, otherwise if nothing is pressed then returns 255 | |
| Return | |
| DisplayStart | |
| Initialise the display ready for use | |
| Return | |
| PrintNumber | |
| Prints the given number to the display starting at the current cursor position and moves the cursor position. | |
| n | |
| Return | |
| PrintASCII | |
| Prints the given character to the display at the current cursor position and increments the cursor position. | |
| Char | |
| ASCII code of the character to print. | |
| Return | |
| DrawRect | |
| Draws a rectangular box from x1,y1 to x2,y2 | |
| x1 | |
| y1 | |
| x2 | |
| y2 | |
| state | |
| 1=draw pixel, 0=clear pixel | |
| Return | |
| DisplayClear | |
| Clears the display to white space | |
| Return | |
| RelayON | |
| Turns on the requested relay given by parameter RelayID, values 1 to 4 | |
| RelayID | |
| The relay to turn on from 1 to 4. | |
| Return | |
| OutputOFF | |
| Outputs a digital low state on the output requested by parameter TransID (Outputs 1 to 4) | |
| TransID | |
| 1 to 4 (Outputs A to D) | |
| Return | |
| DrawPixel | |
| Draws, or clears, a pixel at point x,y | |
| px | |
| py | |
| state | |
| state = 0 clears the pixel, else draws the pixel | |
| Return | |
| OutputON | |
| Outputs a digital high state on the output requested by parameter TransID (Outputs 1 to 4) | |
| TransID | |
| 1 to 4 (Outputs A to D) | |
| Return | |
| InputDIGITAL | |
| Returns the digital state of the input requested by parameter InputID (Inputs 1 to 8) | |
| InputID | |
| The input number from 1 to 8. | |
| Return | |
| DisplayLight | |
| Turns the display backlight on or off | |
| state | |
| Return | |
| InputANALOG | |
| Returns the 8 bit value for the analogue input requested by parameter InputID (Inputs 1 to 8) | |
| InputID | |
| The input to read from 1 to 8. | |
| Return | |
Property reference
| Properties |
==Macro reference==
| RelayOFF | |
| Turns off the requested relay given by parameter RelayID, values 1 to 4 | |
| RelayID | |
| The relay to turn off. From 1 to 4. | |
| Return | |
| InputANALOG_10Bit | |
| InputID | |
| The input to read. From 1 to 8. | |
| Return | |
| PrintString | |
| Prints the given character string to the display at the current cursor position and moves the cursor position. | |
| Str | |
| The string to send to the display. | |
| Return | |
| GetKeypad | |
| Returns the key code of the key that is pressed, otherwise if nothing is pressed then returns 255 | |
| Return | |
| DisplayStart | |
| Initialise the display ready for use | |
| Return | |
| PrintNumber | |
| Prints the given number to the display starting at the current cursor position and moves the cursor position. | |
| n | |
| Return | |
| PrintASCII | |
| Prints the given character to the display at the current cursor position and increments the cursor position. | |
| Char | |
| ASCII code of the character to print. | |
| Return | |
| DrawRect | |
| Draws a rectangular box from x1,y1 to x2,y2 | |
| x1 | |
| y1 | |
| x2 | |
| y2 | |
| state | |
| 1=draw pixel, 0=clear pixel | |
| Return | |
| DisplayClear | |
| Clears the display to white space | |
| Return | |
| RelayON | |
| Turns on the requested relay given by parameter RelayID, values 1 to 4 | |
| RelayID | |
| The relay to turn on from 1 to 4. | |
| Return | |
| OutputOFF | |
| Outputs a digital low state on the output requested by parameter TransID (Outputs 1 to 4) | |
| TransID | |
| 1 to 4 (Outputs A to D) | |
| Return | |
| DrawPixel | |
| Draws, or clears, a pixel at point x,y | |
| px | |
| py | |
| state | |
| state = 0 clears the pixel, else draws the pixel | |
| Return | |
| OutputON | |
| Outputs a digital high state on the output requested by parameter TransID (Outputs 1 to 4) | |
| TransID | |
| 1 to 4 (Outputs A to D) | |
| Return | |
| InputDIGITAL | |
| Returns the digital state of the input requested by parameter InputID (Inputs 1 to 8) | |
| InputID | |
| The input number from 1 to 8. | |
| Return | |
| DisplayLight | |
| Turns the display backlight on or off | |
| state | |
| Return | |
| InputANALOG | |
| Returns the 8 bit value for the analogue input requested by parameter InputID (Inputs 1 to 8) | |
| InputID | |
| The input to read from 1 to 8. | |
| Return | |
Property reference
| Properties |
==Macro reference==
| RelayOFF | |
| Turns off the requested relay given by parameter RelayID, values 1 to 4 | |
| RelayID | |
| The relay to turn off. From 1 to 4. | |
| Return | |
| InputANALOG_10Bit | |
| InputID | |
| The input to read. From 1 to 8. | |
| Return | |
| PrintString | |
| Prints the given character string to the display at the current cursor position and moves the cursor position. | |
| Str | |
| The string to send to the display. | |
| Return | |
| GetKeypad | |
| Returns the key code of the key that is pressed, otherwise if nothing is pressed then returns 255 | |
| Return | |
| DisplayStart | |
| Initialise the display ready for use | |
| Return | |
| PrintNumber | |
| Prints the given number to the display starting at the current cursor position and moves the cursor position. | |
| n | |
| Return | |
| PrintASCII | |
| Prints the given character to the display at the current cursor position and increments the cursor position. | |
| Char | |
| ASCII code of the character to print. | |
| Return | |
| DrawRect | |
| Draws a rectangular box from x1,y1 to x2,y2 | |
| x1 | |
| y1 | |
| x2 | |
| y2 | |
| state | |
| 1=draw pixel, 0=clear pixel | |
| Return | |
| DisplayClear | |
| Clears the display to white space | |
| Return | |
| RelayON | |
| Turns on the requested relay given by parameter RelayID, values 1 to 4 | |
| RelayID | |
| The relay to turn on from 1 to 4. | |
| Return | |
| OutputOFF | |
| Outputs a digital low state on the output requested by parameter TransID (Outputs 1 to 4) | |
| TransID | |
| 1 to 4 (Outputs A to D) | |
| Return | |
| DrawPixel | |
| Draws, or clears, a pixel at point x,y | |
| px | |
| py | |
| state | |
| state = 0 clears the pixel, else draws the pixel | |
| Return | |
| OutputON | |
| Outputs a digital high state on the output requested by parameter TransID (Outputs 1 to 4) | |
| TransID | |
| 1 to 4 (Outputs A to D) | |
| Return | |
| InputDIGITAL | |
| Returns the digital state of the input requested by parameter InputID (Inputs 1 to 8) | |
| InputID | |
| The input number from 1 to 8. | |
| Return | |
| DisplayLight | |
| Turns the display backlight on or off | |
| state | |
| Return | |
| InputANALOG | |
| Returns the 8 bit value for the analogue input requested by parameter InputID (Inputs 1 to 8) | |
| InputID | |
| The input to read from 1 to 8. | |
| Return | |
Property reference
| Properties |
==Macro reference==
| RelayOFF | |
| Turns off the requested relay given by parameter RelayID, values 1 to 4 | |
| RelayID | |
| The relay to turn off. From 1 to 4. | |
| Return | |
| InputANALOG_10Bit | |
| InputID | |
| The input to read. From 1 to 8. | |
| Return | |
| PrintString | |
| Prints the given character string to the display at the current cursor position and moves the cursor position. | |
| Str | |
| The string to send to the display. | |
| Return | |
| GetKeypad | |
| Returns the key code of the key that is pressed, otherwise if nothing is pressed then returns 255 | |
| Return | |
| DisplayStart | |
| Initialise the display ready for use | |
| Return | |
| PrintNumber | |
| Prints the given number to the display starting at the current cursor position and moves the cursor position. | |
| n | |
| Return | |
| PrintASCII | |
| Prints the given character to the display at the current cursor position and increments the cursor position. | |
| Char | |
| ASCII code of the character to print. | |
| Return | |
| DrawRect | |
| Draws a rectangular box from x1,y1 to x2,y2 | |
| x1 | |
| y1 | |
| x2 | |
| y2 | |
| state | |
| 1=draw pixel, 0=clear pixel | |
| Return | |
| DisplayClear | |
| Clears the display to white space | |
| Return | |
| RelayON | |
| Turns on the requested relay given by parameter RelayID, values 1 to 4 | |
| RelayID | |
| The relay to turn on from 1 to 4. | |
| Return | |
| OutputOFF | |
| Outputs a digital low state on the output requested by parameter TransID (Outputs 1 to 4) | |
| TransID | |
| 1 to 4 (Outputs A to D) | |
| Return | |
| DrawPixel | |
| Draws, or clears, a pixel at point x,y | |
| px | |
| py | |
| state | |
| state = 0 clears the pixel, else draws the pixel | |
| Return | |
| OutputON | |
| Outputs a digital high state on the output requested by parameter TransID (Outputs 1 to 4) | |
| TransID | |
| 1 to 4 (Outputs A to D) | |
| Return | |
| InputDIGITAL | |
| Returns the digital state of the input requested by parameter InputID (Inputs 1 to 8) | |
| InputID | |
| The input number from 1 to 8. | |
| Return | |
| DisplayLight | |
| Turns the display backlight on or off | |
| state | |
| Return | |
| InputANALOG | |
| Returns the 8 bit value for the analogue input requested by parameter InputID (Inputs 1 to 8) | |
| InputID | |
| The input to read from 1 to 8. | |
| Return | |
Property reference
| Properties |