Component: MIAC (Arduino-Compatible) (MIAC (Arduino-Compatible)) (Misc)
From Flowcode Help
(Redirected from Component: ID 463bfc0e 2a04 414c bf85 10718fa2ca08)
Jump to navigationJump to search| Author | Matrix TSL |
| Version | 1.2 |
| Category | Misc |
Contents
- 1 MIAC (Arduino-Compatible) component
- 2 Component Source Code
- 3 Detailed description
- 4 Examples
- 5 Macro reference
- 5.1 DisplayClear
- 5.2 DisplayCursor
- 5.3 DisplayLight
- 5.4 DisplayStart
- 5.5 DrawGlyph
- 5.6 DrawLine
- 5.7 DrawPixel
- 5.8 DrawRect
- 5.9 GetKeypad
- 5.10 InputANALOG
- 5.11 InputANALOG_10Bit
- 5.12 InputDIGITAL
- 5.13 OutputOFF
- 5.14 OutputON
- 5.15 PrintASCII
- 5.16 PrintFormattedNumber
- 5.17 PrintNumber
- 5.18 PrintString
- 5.19 RelayOFF
- 5.20 RelayON
- 6 Property reference
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
DisplayClear
| DisplayClear | |
| Clears the display to white space | |
| Return | |
DisplayCursor
DisplayLight
| DisplayLight | |
| Turns the display backlight on or off | |
| state | |
| Return | |
DisplayStart
| DisplayStart | |
| Initialise the display ready for use | |
| Return | |
DrawGlyph
DrawLine
DrawPixel
| DrawPixel | |
| Draws, or clears, a pixel at point x,y | |
| px | |
| py | |
| state | |
| state = 0 clears the pixel, else draws the pixel | |
| Return | |
DrawRect
| DrawRect | |
| Draws a rectangular box from x1,y1 to x2,y2 | |
| x1 | |
| y1 | |
| x2 | |
| y2 | |
| state | |
| 1=draw pixel, 0=clear pixel | |
| Return | |
GetKeypad
| GetKeypad | |
| Returns the key code of the key that is pressed, otherwise if nothing is pressed then returns 255 | |
| Return | |
InputANALOG
| 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 | |
InputANALOG_10Bit
| InputANALOG_10Bit | |
| InputID | |
| The input to read. From 1 to 8. | |
| Return | |
InputDIGITAL
| 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 | |
OutputOFF
| 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 | |
OutputON
| 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 | |
PrintASCII
| 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 | |
PrintFormattedNumber
PrintNumber
| PrintNumber | |
| Prints the given number to the display starting at the current cursor position and moves the cursor position. | |
| n | |
| Return | |
PrintString
| 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 | |
RelayOFF
| 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 | |
RelayON
| 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 | |
Property reference
| Properties |