Flowcode Project File Parser

Ben Rowland 2019 (C) Matrix TSL


Target Device

PIC.16F.16F1937

Constants

BOOL false     BOOL true    

Globals

BYTE I2C_Address     BYTE backlight     BYTE AddressOverride    

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

Clear

Return:     VOID

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

ClearSim

Return:     VOID

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

CommandSim

Return:     VOID
Params:     BYTE instruction    

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

PrintString

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

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

PrintAscii

Return:     VOID
Params:     BYTE character    

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

PrintNumber

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

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    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    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

BacklightControl

Return:     VOID
Params:     BYTE State    
Vars:     BYTE dout    

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

ClearLine

Return:     VOID
Params:     BYTE Line    
Vars:     BYTE x    

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

BacklightControlSim

Return:     VOID
Params:     BYTE State    

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

Cursor

Return:     VOID
Params:     BYTE x     BYTE y    

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

StartSim

Return:     VOID

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

Command

Return:     VOID
Params:     BYTE instruction    

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

PrintFormattedNumber

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

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

EnablePulse

Return:     VOID
Params:     BYTE data    
Vars:     BYTE hi     BYTE lo     BYTE tbyte     BYTE dout    

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

ScrollDisplay

Return:     VOID
Params:     BYTE position     BYTE direction    
Vars:     BYTE cmd    

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

Ev_Property

Return:     UNSIGNED LONG
Vars:     STRING temp_str    

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

PrintAsciiSim

Return:     VOID
Params:     BYTE character    

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

RawSend

Return:     VOID
Params:     BYTE data     BYTE mask    
Vars:     BYTE nibble     BYTE i2data    

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

PrintFloat

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

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

ScrollDisplaySim

Return:     VOID
Params:     BYTE position     BYTE direction    
Vars:     BYTE cmd    

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

CursorSim

Return:     VOID
Params:     BYTE x     BYTE y    

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

PrintStringSim

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

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

ClearLineSim

Return:     VOID
Params:     BYTE Line    
Vars:     BYTE x    

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

Start

Return:     VOID

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

PrintNumberSim

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

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

PrintFloatSim

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

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

SetI2CAddress

Return:     VOID
Params:     BYTE Address    

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    Main

PrintFormattedNumberSim

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

Your browser does not support the HTML5 canvas tag.

Clear    /    ClearSim    /    CommandSim    /    PrintString    /    PrintAscii    /    PrintNumber    /    RAMWrite    /    BacklightControl    /    ClearLine    /    BacklightControlSim    /    Cursor    /    StartSim    /    Command    /    PrintFormattedNumber    /    EnablePulse    /    ScrollDisplay    /    Ev_Property    /    PrintAsciiSim    /    RawSend    /    PrintFloat    /    ScrollDisplaySim    /    CursorSim    /    PrintStringSim    /    ClearLineSim    /    Start    /    PrintNumberSim    /    PrintFloatSim    /    SetI2CAddress    /    PrintFormattedNumberSim    /    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