Flowcode Project File Parser

Ben Rowland 2019 (C) Matrix TSL


Target Device

PIC.16F.16F1937

Constants

SIGNED INT RW     SIGNED INT RS     SIGNED INT BL     BOOL false     SIGNED INT EN     SIGNED INT Data3     SIGNED INT Data2     SIGNED INT Data1     SIGNED INT Data0     BOOL true    

Globals

BYTE PinControl     BYTE IdxChar     BYTE RemapChars     BYTE ReplaceChar     BYTE SearchChars    

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    SendPinsToExpander    /    ClearLine    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Prv_PropertyChange    /    RawSend    /    Backlight    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Main

Clear

Return:     VOID

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    SendPinsToExpander    /    ClearLine    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Prv_PropertyChange    /    RawSend    /    Backlight    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Main

PrintString

Return:     VOID
Params:     STRING Text    
Vars:     BYTE Idx     BYTE count    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    SendPinsToExpander    /    ClearLine    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Prv_PropertyChange    /    RawSend    /    Backlight    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Main

PrintAscii

Return:     VOID
Params:     BYTE character    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    SendPinsToExpander    /    ClearLine    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Prv_PropertyChange    /    RawSend    /    Backlight    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Main

PrintNumber

Return:     VOID
Params:     SIGNED INT Number    
Vars:     STRING s    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    SendPinsToExpander    /    ClearLine    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Prv_PropertyChange    /    RawSend    /    Backlight    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Main

RAMWrite

Return:     VOID
Params:     BYTE Index     BYTE d0     BYTE d1     BYTE d2     BYTE d3     BYTE d4     BYTE d5     BYTE d6     BYTE d7    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    SendPinsToExpander    /    ClearLine    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Prv_PropertyChange    /    RawSend    /    Backlight    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Main

Ev_Initialise

Return:     UNSIGNED LONG

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    SendPinsToExpander    /    ClearLine    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Prv_PropertyChange    /    RawSend    /    Backlight    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Main

SendPinsToExpander

Return:     VOID
Vars:     BYTE dat    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    SendPinsToExpander    /    ClearLine    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Prv_PropertyChange    /    RawSend    /    Backlight    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Main

ClearLine

Return:     VOID
Params:     BYTE Line    
Vars:     BYTE x    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    SendPinsToExpander    /    ClearLine    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Prv_PropertyChange    /    RawSend    /    Backlight    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Main

Cursor

Return:     VOID
Params:     BYTE x     BYTE y    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    SendPinsToExpander    /    ClearLine    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Prv_PropertyChange    /    RawSend    /    Backlight    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Main

Command

Return:     VOID
Params:     BYTE instruction    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    SendPinsToExpander    /    ClearLine    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Prv_PropertyChange    /    RawSend    /    Backlight    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Main

PrintFormattedNumber

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

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    SendPinsToExpander    /    ClearLine    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Prv_PropertyChange    /    RawSend    /    Backlight    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Main

ScrollDisplay

Return:     VOID
Params:     BYTE Position     BYTE Direction    
Vars:     BYTE cmd    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    SendPinsToExpander    /    ClearLine    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Prv_PropertyChange    /    RawSend    /    Backlight    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Main

Prv_PropertyChange

Return:     UNSIGNED LONG
Vars:     HANDLE cpt     BYTE val     SIGNED INT x    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    SendPinsToExpander    /    ClearLine    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Prv_PropertyChange    /    RawSend    /    Backlight    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Main

RawSend

Return:     VOID
Params:     BYTE data     BOOL type    
Vars:     BYTE nibble    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    SendPinsToExpander    /    ClearLine    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Prv_PropertyChange    /    RawSend    /    Backlight    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Main

Backlight

Return:     VOID
Params:     BYTE Mode    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    SendPinsToExpander    /    ClearLine    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Prv_PropertyChange    /    RawSend    /    Backlight    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Main

PrintFloat

Return:     VOID
Params:     FLOAT Number     BYTE DecimalPlaces    
Vars:     STRING s    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    SendPinsToExpander    /    ClearLine    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Prv_PropertyChange    /    RawSend    /    Backlight    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Main

RemapCharacter

Return:     VOID
Params:     BYTE RemapIdx     BYTE SearchCharacter     BYTE ReplacementCharacter    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    SendPinsToExpander    /    ClearLine    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Prv_PropertyChange    /    RawSend    /    Backlight    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Main

Ev_GetVarSize

Return:     UNSIGNED LONG
Params:     STRING VarName     Elements    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    SendPinsToExpander    /    ClearLine    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Prv_PropertyChange    /    RawSend    /    Backlight    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Main

Ev_AddVar

Return:     UNSIGNED LONG
Params:     STRING VarName     STRING ExpandName     STRING Expansion    

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    SendPinsToExpander    /    ClearLine    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Prv_PropertyChange    /    RawSend    /    Backlight    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Main

Start

Return:     VOID

Your browser does not support the HTML5 canvas tag.

Clear    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    Ev_Initialise    /    SendPinsToExpander    /    ClearLine    /    Cursor    /    Command    /    PrintFormattedNumber    /    ScrollDisplay    /    Prv_PropertyChange    /    RawSend    /    Backlight    /    PrintFloat    /    RemapCharacter    /    Ev_GetVarSize    /    Ev_AddVar    /    Start    /    Main

Main

Return:     VOID

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