Flowcode Project File Parser

Ben Rowland 2019 (C) Matrix TSL


Target Device

PIC.16F.16F877A

Constants

BOOL false     BOOL true    

Globals

BYTE test     HANDLE ConsoleHandle     UNSIGNED INT DataOutStart     UNSIGNED INT DataInEnd     UNSIGNED INT DataInStart     UNSIGNED INT ConsoleCount     BYTE DataIn     BYTE DataOut     UNSIGNED INT DataOutEnd     BYTE ConsoleRW    

Ev_Timer    /    UARTBaud    /    IOGetInputPin    /    RxByteCount    /    Ev_Stop    /    UARTCheckRX    /    UARTInitialise    /    Ev_Initialise    /    TxByte    /    RxByte    /    GetConsoleHandle    /    Ev_Property    /    Ev_Renamed    /    UARTReceive    /    IOSetOutputPin    /    UARTSend    /    Ev_Start    /    Main    /    Initialise

Ev_Timer

Return:     UNSIGNED LONG
Params:     UNSIGNED LONG TimerID    
Vars:     UNSIGNED INT Count     BYTE rxbyte    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    UARTBaud    /    IOGetInputPin    /    RxByteCount    /    Ev_Stop    /    UARTCheckRX    /    UARTInitialise    /    Ev_Initialise    /    TxByte    /    RxByte    /    GetConsoleHandle    /    Ev_Property    /    Ev_Renamed    /    UARTReceive    /    IOSetOutputPin    /    UARTSend    /    Ev_Start    /    Main    /    Initialise

UARTBaud

Return:     VOID
Params:     BYTE Channel     BYTE Rate    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    UARTBaud    /    IOGetInputPin    /    RxByteCount    /    Ev_Stop    /    UARTCheckRX    /    UARTInitialise    /    Ev_Initialise    /    TxByte    /    RxByte    /    GetConsoleHandle    /    Ev_Property    /    Ev_Renamed    /    UARTReceive    /    IOSetOutputPin    /    UARTSend    /    Ev_Start    /    Main    /    Initialise

IOGetInputPin

Return:     BOOL
Params:     BYTE Pin    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    UARTBaud    /    IOGetInputPin    /    RxByteCount    /    Ev_Stop    /    UARTCheckRX    /    UARTInitialise    /    Ev_Initialise    /    TxByte    /    RxByte    /    GetConsoleHandle    /    Ev_Property    /    Ev_Renamed    /    UARTReceive    /    IOSetOutputPin    /    UARTSend    /    Ev_Start    /    Main    /    Initialise

RxByteCount

Return:     UNSIGNED INT

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    UARTBaud    /    IOGetInputPin    /    RxByteCount    /    Ev_Stop    /    UARTCheckRX    /    UARTInitialise    /    Ev_Initialise    /    TxByte    /    RxByte    /    GetConsoleHandle    /    Ev_Property    /    Ev_Renamed    /    UARTReceive    /    IOSetOutputPin    /    UARTSend    /    Ev_Start    /    Main    /    Initialise

Ev_Stop

Return:     UNSIGNED LONG

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    UARTBaud    /    IOGetInputPin    /    RxByteCount    /    Ev_Stop    /    UARTCheckRX    /    UARTInitialise    /    Ev_Initialise    /    TxByte    /    RxByte    /    GetConsoleHandle    /    Ev_Property    /    Ev_Renamed    /    UARTReceive    /    IOSetOutputPin    /    UARTSend    /    Ev_Start    /    Main    /    Initialise

UARTCheckRX

Return:     BYTE
Params:     BYTE Channel    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    UARTBaud    /    IOGetInputPin    /    RxByteCount    /    Ev_Stop    /    UARTCheckRX    /    UARTInitialise    /    Ev_Initialise    /    TxByte    /    RxByte    /    GetConsoleHandle    /    Ev_Property    /    Ev_Renamed    /    UARTReceive    /    IOSetOutputPin    /    UARTSend    /    Ev_Start    /    Main    /    Initialise

UARTInitialise

Return:     VOID
Params:     BYTE Channel    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    UARTBaud    /    IOGetInputPin    /    RxByteCount    /    Ev_Stop    /    UARTCheckRX    /    UARTInitialise    /    Ev_Initialise    /    TxByte    /    RxByte    /    GetConsoleHandle    /    Ev_Property    /    Ev_Renamed    /    UARTReceive    /    IOSetOutputPin    /    UARTSend    /    Ev_Start    /    Main    /    Initialise

Ev_Initialise

Return:     UNSIGNED LONG
Vars:     STRING temp    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    UARTBaud    /    IOGetInputPin    /    RxByteCount    /    Ev_Stop    /    UARTCheckRX    /    UARTInitialise    /    Ev_Initialise    /    TxByte    /    RxByte    /    GetConsoleHandle    /    Ev_Property    /    Ev_Renamed    /    UARTReceive    /    IOSetOutputPin    /    UARTSend    /    Ev_Start    /    Main    /    Initialise

TxByte

Return:     VOID
Params:     BYTE DataByte    
Vars:     STRING ascii    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    UARTBaud    /    IOGetInputPin    /    RxByteCount    /    Ev_Stop    /    UARTCheckRX    /    UARTInitialise    /    Ev_Initialise    /    TxByte    /    RxByte    /    GetConsoleHandle    /    Ev_Property    /    Ev_Renamed    /    UARTReceive    /    IOSetOutputPin    /    UARTSend    /    Ev_Start    /    Main    /    Initialise

RxByte

Return:     UNSIGNED INT
Vars:     BYTE data     STRING ascii     BYTE rxbyte     BYTE Index    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    UARTBaud    /    IOGetInputPin    /    RxByteCount    /    Ev_Stop    /    UARTCheckRX    /    UARTInitialise    /    Ev_Initialise    /    TxByte    /    RxByte    /    GetConsoleHandle    /    Ev_Property    /    Ev_Renamed    /    UARTReceive    /    IOSetOutputPin    /    UARTSend    /    Ev_Start    /    Main    /    Initialise

GetConsoleHandle

Return:     HANDLE

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    UARTBaud    /    IOGetInputPin    /    RxByteCount    /    Ev_Stop    /    UARTCheckRX    /    UARTInitialise    /    Ev_Initialise    /    TxByte    /    RxByte    /    GetConsoleHandle    /    Ev_Property    /    Ev_Renamed    /    UARTReceive    /    IOSetOutputPin    /    UARTSend    /    Ev_Start    /    Main    /    Initialise

Ev_Property

Return:     UNSIGNED LONG
Vars:     STRING SVar     HANDLE Handle    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    UARTBaud    /    IOGetInputPin    /    RxByteCount    /    Ev_Stop    /    UARTCheckRX    /    UARTInitialise    /    Ev_Initialise    /    TxByte    /    RxByte    /    GetConsoleHandle    /    Ev_Property    /    Ev_Renamed    /    UARTReceive    /    IOSetOutputPin    /    UARTSend    /    Ev_Start    /    Main    /    Initialise

Ev_Renamed

Return:     UNSIGNED LONG
Vars:     STRING Name    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    UARTBaud    /    IOGetInputPin    /    RxByteCount    /    Ev_Stop    /    UARTCheckRX    /    UARTInitialise    /    Ev_Initialise    /    TxByte    /    RxByte    /    GetConsoleHandle    /    Ev_Property    /    Ev_Renamed    /    UARTReceive    /    IOSetOutputPin    /    UARTSend    /    Ev_Start    /    Main    /    Initialise

UARTReceive

Return:     BYTE
Params:     BYTE Channel    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    UARTBaud    /    IOGetInputPin    /    RxByteCount    /    Ev_Stop    /    UARTCheckRX    /    UARTInitialise    /    Ev_Initialise    /    TxByte    /    RxByte    /    GetConsoleHandle    /    Ev_Property    /    Ev_Renamed    /    UARTReceive    /    IOSetOutputPin    /    UARTSend    /    Ev_Start    /    Main    /    Initialise

IOSetOutputPin

Return:     VOID
Params:     BYTE Pin     BOOL State    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    UARTBaud    /    IOGetInputPin    /    RxByteCount    /    Ev_Stop    /    UARTCheckRX    /    UARTInitialise    /    Ev_Initialise    /    TxByte    /    RxByte    /    GetConsoleHandle    /    Ev_Property    /    Ev_Renamed    /    UARTReceive    /    IOSetOutputPin    /    UARTSend    /    Ev_Start    /    Main    /    Initialise

UARTSend

Return:     VOID
Params:     BYTE Channel     BYTE Data    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    UARTBaud    /    IOGetInputPin    /    RxByteCount    /    Ev_Stop    /    UARTCheckRX    /    UARTInitialise    /    Ev_Initialise    /    TxByte    /    RxByte    /    GetConsoleHandle    /    Ev_Property    /    Ev_Renamed    /    UARTReceive    /    IOSetOutputPin    /    UARTSend    /    Ev_Start    /    Main    /    Initialise

Ev_Start

Return:     UNSIGNED LONG

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    UARTBaud    /    IOGetInputPin    /    RxByteCount    /    Ev_Stop    /    UARTCheckRX    /    UARTInitialise    /    Ev_Initialise    /    TxByte    /    RxByte    /    GetConsoleHandle    /    Ev_Property    /    Ev_Renamed    /    UARTReceive    /    IOSetOutputPin    /    UARTSend    /    Ev_Start    /    Main    /    Initialise

Main

Return:     VOID

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    UARTBaud    /    IOGetInputPin    /    RxByteCount    /    Ev_Stop    /    UARTCheckRX    /    UARTInitialise    /    Ev_Initialise    /    TxByte    /    RxByte    /    GetConsoleHandle    /    Ev_Property    /    Ev_Renamed    /    UARTReceive    /    IOSetOutputPin    /    UARTSend    /    Ev_Start    /    Main    /    Initialise

Initialise

Return:     VOID
Vars:     BYTE retry     BYTE RetVal    

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