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     BOOL Flag    

Ev_Timer    /    Ev_Stop    /    GetStopGo    /    Ev_Pause    /    AutomaticMode    /    SetSingleLight    /    GetLightState    /    SetLights    /    SetLightState    /    Main    /    Ev_Resume

Ev_Timer

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

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    Ev_Stop    /    GetStopGo    /    Ev_Pause    /    AutomaticMode    /    SetSingleLight    /    GetLightState    /    SetLights    /    SetLightState    /    Main    /    Ev_Resume

Ev_Stop

Return:     UNSIGNED LONG

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    Ev_Stop    /    GetStopGo    /    Ev_Pause    /    AutomaticMode    /    SetSingleLight    /    GetLightState    /    SetLights    /    SetLightState    /    Main    /    Ev_Resume

GetStopGo

Return:     BOOL
Params:     BOOL LightSet    
Vars:     BYTE Temp    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    Ev_Stop    /    GetStopGo    /    Ev_Pause    /    AutomaticMode    /    SetSingleLight    /    GetLightState    /    SetLights    /    SetLightState    /    Main    /    Ev_Resume

Ev_Pause

Return:     UNSIGNED LONG

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    Ev_Stop    /    GetStopGo    /    Ev_Pause    /    AutomaticMode    /    SetSingleLight    /    GetLightState    /    SetLights    /    SetLightState    /    Main    /    Ev_Resume

AutomaticMode

Return:     VOID
Params:     BOOL Mode    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    Ev_Stop    /    GetStopGo    /    Ev_Pause    /    AutomaticMode    /    SetSingleLight    /    GetLightState    /    SetLights    /    SetLightState    /    Main    /    Ev_Resume

SetSingleLight

Return:     VOID
Params:     BOOL LightSet     BOOL Red     BOOL Amber     BOOL Green    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    Ev_Stop    /    GetStopGo    /    Ev_Pause    /    AutomaticMode    /    SetSingleLight    /    GetLightState    /    SetLights    /    SetLightState    /    Main    /    Ev_Resume

GetLightState

Return:     BYTE
Params:     BOOL LightSet    
Vars:     BYTE Mask    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    Ev_Stop    /    GetStopGo    /    Ev_Pause    /    AutomaticMode    /    SetSingleLight    /    GetLightState    /    SetLights    /    SetLightState    /    Main    /    Ev_Resume

SetLights

Return:     VOID
Params:     BOOL Red0     BOOL Amber0     BOOL Green0     BOOL Red1     BOOL Amber1     BOOL Green1    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    Ev_Stop    /    GetStopGo    /    Ev_Pause    /    AutomaticMode    /    SetSingleLight    /    GetLightState    /    SetLights    /    SetLightState    /    Main    /    Ev_Resume

SetLightState

Return:     VOID
Params:     BOOL LightSet     BYTE SequenceNumber    

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    Ev_Stop    /    GetStopGo    /    Ev_Pause    /    AutomaticMode    /    SetSingleLight    /    GetLightState    /    SetLights    /    SetLightState    /    Main    /    Ev_Resume

Main

Return:     VOID

Your browser does not support the HTML5 canvas tag.

Ev_Timer    /    Ev_Stop    /    GetStopGo    /    Ev_Pause    /    AutomaticMode    /    SetSingleLight    /    GetLightState    /    SetLights    /    SetLightState    /    Main    /    Ev_Resume

Ev_Resume

Return:     UNSIGNED LONG

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