Component: MIAC (Arduino-Compatible) (MIAC (Arduino-Compatible)) (Misc)
From Flowcode Help
(Redirected from Component: ID 463bfc0e 2a04 414c bf85 10718fa2ca08)
Jump to navigationJump to searchAuthor | 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 | |
- VOID | Return |
DisplayCursor
DisplayLight
DisplayLight | |
Turns the display backlight on or off | |
- BYTE | state |
- VOID | Return |
DisplayStart
DisplayStart | |
Initialise the display ready for use | |
- VOID | Return |
DrawGlyph
DrawLine
DrawPixel
DrawPixel | |
Draws, or clears, a pixel at point x,y | |
- BYTE | px |
- BYTE | py |
- BYTE | state |
state = 0 clears the pixel, else draws the pixel | |
- VOID | Return |
DrawRect
DrawRect | |
Draws a rectangular box from x1,y1 to x2,y2 | |
- BYTE | x1 |
- BYTE | y1 |
- BYTE | x2 |
- BYTE | y2 |
- BYTE | state |
1=draw pixel, 0=clear pixel | |
- VOID | Return |
GetKeypad
GetKeypad | |
Returns the key code of the key that is pressed, otherwise if nothing is pressed then returns 255 | |
- BYTE | Return |
InputANALOG
InputANALOG | |
Returns the 8 bit value for the analogue input requested by parameter InputID (Inputs 1 to 8) | |
- BYTE | InputID |
The input to read from 1 to 8. | |
- BYTE | Return |
InputANALOG_10Bit
InputANALOG_10Bit | |
- BYTE | InputID |
The input to read. From 1 to 8. | |
- INT | Return |
InputDIGITAL
InputDIGITAL | |
Returns the digital state of the input requested by parameter InputID (Inputs 1 to 8) | |
- BYTE | InputID |
The input number from 1 to 8. | |
- BYTE | Return |
OutputOFF
OutputOFF | |
Outputs a digital low state on the output requested by parameter TransID (Outputs 1 to 4) | |
- BYTE | TransID |
1 to 4 (Outputs A to D) | |
- VOID | Return |
OutputON
OutputON | |
Outputs a digital high state on the output requested by parameter TransID (Outputs 1 to 4) | |
- BYTE | TransID |
1 to 4 (Outputs A to D) | |
- VOID | Return |
PrintASCII
PrintASCII | |
Prints the given character to the display at the current cursor position and increments the cursor position. | |
- BYTE | Char |
ASCII code of the character to print. | |
- VOID | Return |
PrintFormattedNumber
PrintNumber
PrintNumber | |
Prints the given number to the display starting at the current cursor position and moves the cursor position. | |
- INT | n |
- VOID | Return |
PrintString
PrintString | |
Prints the given character string to the display at the current cursor position and moves the cursor position. | |
- STRING | Str |
The string to send to the display. | |
- VOID | Return |
RelayOFF
RelayOFF | |
Turns off the requested relay given by parameter RelayID, values 1 to 4 | |
- BYTE | RelayID |
The relay to turn off. From 1 to 4. | |
- VOID | Return |
RelayON
RelayON | |
Turns on the requested relay given by parameter RelayID, values 1 to 4 | |
- BYTE | RelayID |
The relay to turn on from 1 to 4. | |
- VOID | Return |
Property reference
Properties |