Flowcode Project File Parser

Ben Rowland 2019 (C) Matrix TSL


Target Device

PIC.18F.MIAC V2

Constants

BOOL false     BOOL true    

Globals



InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

InputANALOG_10Bit

Return:     SIGNED INT
Params:     BYTE InputID    

Your browser does not support the HTML5 canvas tag.

InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

InputANALOG_10BitSim

Return:     SIGNED INT
Params:     BYTE InputID    
Vars:     BYTE ChId     UNSIGNED INT VAL     BYTE ON    

Your browser does not support the HTML5 canvas tag.

InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

RelayOFF

Return:     VOID
Params:     BYTE RelayID    

Your browser does not support the HTML5 canvas tag.

InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

PrintString

Return:     VOID
Params:     STRING Str    
Vars:     BYTE idx     UNSIGNED INT len    

Your browser does not support the HTML5 canvas tag.

InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

GetKeypad

Return:     BYTE

Your browser does not support the HTML5 canvas tag.

InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

DisplayStart

Return:     VOID

Your browser does not support the HTML5 canvas tag.

InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

DisplayCommand

Return:     VOID
Params:     BYTE Cmd    

Your browser does not support the HTML5 canvas tag.

InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

PrintASCII

Return:     VOID
Params:     BYTE Char    

Your browser does not support the HTML5 canvas tag.

InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

PrintNumber

Return:     VOID
Params:     SIGNED INT n    
Vars:     BYTE tmp_byte     SIGNED INT tmp_int    

Your browser does not support the HTML5 canvas tag.

InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

LCDRawSend

Return:     VOID
Params:     BYTE In     BYTE Mask    

Your browser does not support the HTML5 canvas tag.

InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

PrintFormattedNumber

Return:     VOID
Params:     UNSIGNED LONG Number     BOOL Format    
Vars:     STRING s    

Your browser does not support the HTML5 canvas tag.

InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

LED_On

Return:     VOID
Params:     BYTE Index    

Your browser does not support the HTML5 canvas tag.

InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

DisplayClear

Return:     VOID

Your browser does not support the HTML5 canvas tag.

InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

DisplayStartSim

Return:     VOID

Your browser does not support the HTML5 canvas tag.

InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

Ev_Property

Return:     UNSIGNED LONG

Your browser does not support the HTML5 canvas tag.

InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

DisplayClearSim

Return:     VOID

Your browser does not support the HTML5 canvas tag.

InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

LED_off

Return:     VOID
Params:     BYTE Index    

Your browser does not support the HTML5 canvas tag.

InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

RelayON

Return:     VOID
Params:     BYTE RelayID    

Your browser does not support the HTML5 canvas tag.

InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

InputANALOGSim

Return:     BYTE
Params:     BYTE InputID    
Vars:     UNSIGNED INT VAL    

Your browser does not support the HTML5 canvas tag.

InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

OutputOFF

Return:     VOID
Params:     BYTE TransID    

Your browser does not support the HTML5 canvas tag.

InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

DisplayCursor

Return:     VOID
Params:     BYTE x     BYTE y    

Your browser does not support the HTML5 canvas tag.

InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

OutputON

Return:     VOID
Params:     BYTE TransID    

Your browser does not support the HTML5 canvas tag.

InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

InputDIGITAL

Return:     BYTE
Params:     BYTE InputID    

Your browser does not support the HTML5 canvas tag.

InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

Ev_Sim_Start

Return:     UNSIGNED LONG
Vars:     BYTE dummy    

Your browser does not support the HTML5 canvas tag.

InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

Main

Return:     VOID
Vars:     BYTE KEY    

Your browser does not support the HTML5 canvas tag.

InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

GetKeypadSim

Return:     BYTE

Your browser does not support the HTML5 canvas tag.

InputANALOG_10Bit    /    InputANALOG_10BitSim    /    RelayOFF    /    PrintString    /    GetKeypad    /    DisplayStart    /    DisplayCommand    /    PrintASCII    /    PrintNumber    /    LCDRawSend    /    PrintFormattedNumber    /    LED_On    /    DisplayClear    /    DisplayStartSim    /    Ev_Property    /    DisplayClearSim    /    LED_off    /    RelayON    /    InputANALOGSim    /    OutputOFF    /    DisplayCursor    /    OutputON    /    InputDIGITAL    /    Ev_Sim_Start    /    Main    /    GetKeypadSim    /    InputANALOG

InputANALOG

Return:     BYTE
Params:     BYTE InputID    

Your browser does not support the HTML5 canvas tag.

Verison History

Version 0.6
12/09/19 BR - Created initial recursive parser
14/09/19 BR - Added support for disabled icons
18/09/19 BR - Fixed decision icon parsing
19/09/19 BR - Added switch icon support
23/09/19 BR - Fixed recursive loop spacing
27/09/19 BR - Further tweaked spacing and added Macro menu
30/09/19 BR - Improved all string spacing
01/10/19 BR - Improved While icon support