Flowcode Project File Parser

Ben Rowland 2019 (C) Matrix TSL


Target Device

PIC.16F.BL0011

Constants

BOOL false     BOOL true    

Globals

BYTE Lights     BOOL TimerActive     UNSIGNED INT Timeout     BYTE Flashing     BOOL SwPressed     BOOL automode    

Ev_Timer    /    Ev_Stop    /    GetStopGo    /    Ev_PinChange    /    ReadSwitch    /    Ev_Pause    /    AutomaticMode    /    Ev_Property    /    GetLightState    /    SetLights    /    SetLightState    /    Main    /    Ev_Resume    /    Ev_Click

Ev_Timer

Return:     UNSIGNED LONG
Params:     UNSIGNED LONG TimerID    
Vars:     BYTE State0    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    Ev_Stop    /    GetStopGo    /    Ev_PinChange    /    ReadSwitch    /    Ev_Pause    /    AutomaticMode    /    Ev_Property    /    GetLightState    /    SetLights    /    SetLightState    /    Main    /    Ev_Resume    /    Ev_Click

Ev_Stop

Return:     UNSIGNED LONG

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    Ev_Stop    /    GetStopGo    /    Ev_PinChange    /    ReadSwitch    /    Ev_Pause    /    AutomaticMode    /    Ev_Property    /    GetLightState    /    SetLights    /    SetLightState    /    Main    /    Ev_Resume    /    Ev_Click

GetStopGo

Return:     BOOL
Vars:     BYTE Temp    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    Ev_Stop    /    GetStopGo    /    Ev_PinChange    /    ReadSwitch    /    Ev_Pause    /    AutomaticMode    /    Ev_Property    /    GetLightState    /    SetLights    /    SetLightState    /    Main    /    Ev_Resume    /    Ev_Click

Ev_PinChange

Return:     UNSIGNED LONG
Vars:     BYTE state    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    Ev_Stop    /    GetStopGo    /    Ev_PinChange    /    ReadSwitch    /    Ev_Pause    /    AutomaticMode    /    Ev_Property    /    GetLightState    /    SetLights    /    SetLightState    /    Main    /    Ev_Resume    /    Ev_Click

ReadSwitch

Return:     BOOL

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    Ev_Stop    /    GetStopGo    /    Ev_PinChange    /    ReadSwitch    /    Ev_Pause    /    AutomaticMode    /    Ev_Property    /    GetLightState    /    SetLights    /    SetLightState    /    Main    /    Ev_Resume    /    Ev_Click

Ev_Pause

Return:     UNSIGNED LONG

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    Ev_Stop    /    GetStopGo    /    Ev_PinChange    /    ReadSwitch    /    Ev_Pause    /    AutomaticMode    /    Ev_Property    /    GetLightState    /    SetLights    /    SetLightState    /    Main    /    Ev_Resume    /    Ev_Click

AutomaticMode

Return:     VOID
Params:     BOOL Mode    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    Ev_Stop    /    GetStopGo    /    Ev_PinChange    /    ReadSwitch    /    Ev_Pause    /    AutomaticMode    /    Ev_Property    /    GetLightState    /    SetLights    /    SetLightState    /    Main    /    Ev_Resume    /    Ev_Click

Ev_Property

Return:     UNSIGNED LONG
Vars:     STRING tempStr    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    Ev_Stop    /    GetStopGo    /    Ev_PinChange    /    ReadSwitch    /    Ev_Pause    /    AutomaticMode    /    Ev_Property    /    GetLightState    /    SetLights    /    SetLightState    /    Main    /    Ev_Resume    /    Ev_Click

GetLightState

Return:     BYTE
Vars:     BYTE Mask    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    Ev_Stop    /    GetStopGo    /    Ev_PinChange    /    ReadSwitch    /    Ev_Pause    /    AutomaticMode    /    Ev_Property    /    GetLightState    /    SetLights    /    SetLightState    /    Main    /    Ev_Resume    /    Ev_Click

SetLights

Return:     VOID
Params:     BOOL Red     BOOL Green     BOOL Wait    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    Ev_Stop    /    GetStopGo    /    Ev_PinChange    /    ReadSwitch    /    Ev_Pause    /    AutomaticMode    /    Ev_Property    /    GetLightState    /    SetLights    /    SetLightState    /    Main    /    Ev_Resume    /    Ev_Click

SetLightState

Return:     VOID
Params:     BYTE SequenceNumber    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    Ev_Stop    /    GetStopGo    /    Ev_PinChange    /    ReadSwitch    /    Ev_Pause    /    AutomaticMode    /    Ev_Property    /    GetLightState    /    SetLights    /    SetLightState    /    Main    /    Ev_Resume    /    Ev_Click

Main

Return:     VOID

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    Ev_Stop    /    GetStopGo    /    Ev_PinChange    /    ReadSwitch    /    Ev_Pause    /    AutomaticMode    /    Ev_Property    /    GetLightState    /    SetLights    /    SetLightState    /    Main    /    Ev_Resume    /    Ev_Click

Ev_Resume

Return:     UNSIGNED LONG

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    Ev_Stop    /    GetStopGo    /    Ev_PinChange    /    ReadSwitch    /    Ev_Pause    /    AutomaticMode    /    Ev_Property    /    GetLightState    /    SetLights    /    SetLightState    /    Main    /    Ev_Resume    /    Ev_Click

Ev_Click

Return:     UNSIGNED LONG
Params:     HANDLE Component     FLOAT X     FLOAT Y     FLOAT Z    
Vars:     BYTE State    

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