Difference between revisions of "Component: MIAC (dsPIC) (MIAC (dsPIC)) (Misc)"
From Flowcode Help
Jump to navigationJump to search (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix TSL |- | width="20%" style="color:gray;" | Version | 1.2 |- | width="20%" style="color:gray...") |
|||
Line 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 28: | Line 30: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 37: | Line 41: | ||
− | == | + | ==Macro reference== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
Revision as of 14:12, 20 January 2023
Author | Matrix TSL |
Version | 1.2 |
Category | Misc |
Contents
MIAC (dsPIC) component
MIAC - Matrix Industrial Automotive Controller (dsPIC)
Component Source Code
Please click here for the component source code: FC_Comp_Source_MIAC_(dsPIC).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 |