Flowcode Project File Parser

Ben Rowland 2019 (C) Matrix TSL


Target Device

PIC.16F.16F1937

Constants

SIGNED INT SCRIPT_DATA_SIZE     SIGNED INT BT_CHAR_CR    

Globals



SetPairKey    /    ReceiveByte    /    SendString    /    Ev_Timer    /    Ev_Stop    /    Ev_AddInterrupts    /    SendScript    /    SendCommand    /    Ev_Initialise    /    ReadString    /    Ev_ChipChange    /    Pvt_ScriptsShowHide    /    SaveSettings    /    SendByte    /    Ev_Pause    /    Ev_Property    /    SetMode    /    Ev_Renamed    /    Ev_GetVarSize    /    RestoreFactorySettings    /    BT_ISR    /    Main    /    Ev_Resume    /    Initialise    /    pvt_RemoveListOpt

SetPairKey

Return:     BYTE
Params:     STRING PairKey    
Vars:     STRING CommandStr    

Your browser does not support the HTML5 canvas tag.

SetPairKey    /    ReceiveByte    /    SendString    /    Ev_Timer    /    Ev_Stop    /    Ev_AddInterrupts    /    SendScript    /    SendCommand    /    Ev_Initialise    /    ReadString    /    Ev_ChipChange    /    Pvt_ScriptsShowHide    /    SaveSettings    /    SendByte    /    Ev_Pause    /    Ev_Property    /    SetMode    /    Ev_Renamed    /    Ev_GetVarSize    /    RestoreFactorySettings    /    BT_ISR    /    Main    /    Ev_Resume    /    Initialise    /    pvt_RemoveListOpt

ReceiveByte

Return:     BYTE
Params:     BYTE Timeout    
Vars:     BYTE count     BYTE Done    

Your browser does not support the HTML5 canvas tag.

SetPairKey    /    ReceiveByte    /    SendString    /    Ev_Timer    /    Ev_Stop    /    Ev_AddInterrupts    /    SendScript    /    SendCommand    /    Ev_Initialise    /    ReadString    /    Ev_ChipChange    /    Pvt_ScriptsShowHide    /    SaveSettings    /    SendByte    /    Ev_Pause    /    Ev_Property    /    SetMode    /    Ev_Renamed    /    Ev_GetVarSize    /    RestoreFactorySettings    /    BT_ISR    /    Main    /    Ev_Resume    /    Initialise    /    pvt_RemoveListOpt

SendString

Return:     VOID
Params:     STRING Command     BYTE SendCR    
Vars:     BYTE idx     BYTE len    

Your browser does not support the HTML5 canvas tag.

SetPairKey    /    ReceiveByte    /    SendString    /    Ev_Timer    /    Ev_Stop    /    Ev_AddInterrupts    /    SendScript    /    SendCommand    /    Ev_Initialise    /    ReadString    /    Ev_ChipChange    /    Pvt_ScriptsShowHide    /    SaveSettings    /    SendByte    /    Ev_Pause    /    Ev_Property    /    SetMode    /    Ev_Renamed    /    Ev_GetVarSize    /    RestoreFactorySettings    /    BT_ISR    /    Main    /    Ev_Resume    /    Initialise    /    pvt_RemoveListOpt

Ev_Timer

Return:     UNSIGNED LONG
Params:     UNSIGNED LONG TimerID    
Vars:     BYTE in     HANDLE Handle    

Your browser does not support the HTML5 canvas tag.

SetPairKey    /    ReceiveByte    /    SendString    /    Ev_Timer    /    Ev_Stop    /    Ev_AddInterrupts    /    SendScript    /    SendCommand    /    Ev_Initialise    /    ReadString    /    Ev_ChipChange    /    Pvt_ScriptsShowHide    /    SaveSettings    /    SendByte    /    Ev_Pause    /    Ev_Property    /    SetMode    /    Ev_Renamed    /    Ev_GetVarSize    /    RestoreFactorySettings    /    BT_ISR    /    Main    /    Ev_Resume    /    Initialise    /    pvt_RemoveListOpt

Ev_Stop

Return:     UNSIGNED LONG

Your browser does not support the HTML5 canvas tag.

SetPairKey    /    ReceiveByte    /    SendString    /    Ev_Timer    /    Ev_Stop    /    Ev_AddInterrupts    /    SendScript    /    SendCommand    /    Ev_Initialise    /    ReadString    /    Ev_ChipChange    /    Pvt_ScriptsShowHide    /    SaveSettings    /    SendByte    /    Ev_Pause    /    Ev_Property    /    SetMode    /    Ev_Renamed    /    Ev_GetVarSize    /    RestoreFactorySettings    /    BT_ISR    /    Main    /    Ev_Resume    /    Initialise    /    pvt_RemoveListOpt

Ev_AddInterrupts

Return:     UNSIGNED LONG
Params:     STRING HandlerCode    
Vars:     STRING ISR_Macro     STRING UART_Str    

Your browser does not support the HTML5 canvas tag.

SetPairKey    /    ReceiveByte    /    SendString    /    Ev_Timer    /    Ev_Stop    /    Ev_AddInterrupts    /    SendScript    /    SendCommand    /    Ev_Initialise    /    ReadString    /    Ev_ChipChange    /    Pvt_ScriptsShowHide    /    SaveSettings    /    SendByte    /    Ev_Pause    /    Ev_Property    /    SetMode    /    Ev_Renamed    /    Ev_GetVarSize    /    RestoreFactorySettings    /    BT_ISR    /    Main    /    Ev_Resume    /    Initialise    /    pvt_RemoveListOpt

SendScript

Return:     BYTE
Params:     BYTE idx    
Vars:     BYTE i     BYTE ch     STRING Script_Str     BYTE len    

Your browser does not support the HTML5 canvas tag.

SetPairKey    /    ReceiveByte    /    SendString    /    Ev_Timer    /    Ev_Stop    /    Ev_AddInterrupts    /    SendScript    /    SendCommand    /    Ev_Initialise    /    ReadString    /    Ev_ChipChange    /    Pvt_ScriptsShowHide    /    SaveSettings    /    SendByte    /    Ev_Pause    /    Ev_Property    /    SetMode    /    Ev_Renamed    /    Ev_GetVarSize    /    RestoreFactorySettings    /    BT_ISR    /    Main    /    Ev_Resume    /    Initialise    /    pvt_RemoveListOpt

SendCommand

Return:     BYTE
Params:     STRING Command     BYTE SendCR     BYTE DiscardReply    
Vars:     BYTE idx     BYTE len    

Your browser does not support the HTML5 canvas tag.

SetPairKey    /    ReceiveByte    /    SendString    /    Ev_Timer    /    Ev_Stop    /    Ev_AddInterrupts    /    SendScript    /    SendCommand    /    Ev_Initialise    /    ReadString    /    Ev_ChipChange    /    Pvt_ScriptsShowHide    /    SaveSettings    /    SendByte    /    Ev_Pause    /    Ev_Property    /    SetMode    /    Ev_Renamed    /    Ev_GetVarSize    /    RestoreFactorySettings    /    BT_ISR    /    Main    /    Ev_Resume    /    Initialise    /    pvt_RemoveListOpt

Ev_Initialise

Return:     UNSIGNED LONG
Vars:     STRING temp_str    

Your browser does not support the HTML5 canvas tag.

SetPairKey    /    ReceiveByte    /    SendString    /    Ev_Timer    /    Ev_Stop    /    Ev_AddInterrupts    /    SendScript    /    SendCommand    /    Ev_Initialise    /    ReadString    /    Ev_ChipChange    /    Pvt_ScriptsShowHide    /    SaveSettings    /    SendByte    /    Ev_Pause    /    Ev_Property    /    SetMode    /    Ev_Renamed    /    Ev_GetVarSize    /    RestoreFactorySettings    /    BT_ISR    /    Main    /    Ev_Resume    /    Initialise    /    pvt_RemoveListOpt

ReadString

Return:     STRING
Params:     BYTE NumBytes    
Vars:     BYTE idx     BYTE count    

Your browser does not support the HTML5 canvas tag.

SetPairKey    /    ReceiveByte    /    SendString    /    Ev_Timer    /    Ev_Stop    /    Ev_AddInterrupts    /    SendScript    /    SendCommand    /    Ev_Initialise    /    ReadString    /    Ev_ChipChange    /    Pvt_ScriptsShowHide    /    SaveSettings    /    SendByte    /    Ev_Pause    /    Ev_Property    /    SetMode    /    Ev_Renamed    /    Ev_GetVarSize    /    RestoreFactorySettings    /    BT_ISR    /    Main    /    Ev_Resume    /    Initialise    /    pvt_RemoveListOpt

Ev_ChipChange

Return:     UNSIGNED LONG
Params:     STRING Target    
Vars:     STRING temp_str    

Your browser does not support the HTML5 canvas tag.

SetPairKey    /    ReceiveByte    /    SendString    /    Ev_Timer    /    Ev_Stop    /    Ev_AddInterrupts    /    SendScript    /    SendCommand    /    Ev_Initialise    /    ReadString    /    Ev_ChipChange    /    Pvt_ScriptsShowHide    /    SaveSettings    /    SendByte    /    Ev_Pause    /    Ev_Property    /    SetMode    /    Ev_Renamed    /    Ev_GetVarSize    /    RestoreFactorySettings    /    BT_ISR    /    Main    /    Ev_Resume    /    Initialise    /    pvt_RemoveListOpt

Pvt_ScriptsShowHide

Return:     VOID
Vars:     STRING temp_str    

Your browser does not support the HTML5 canvas tag.

SetPairKey    /    ReceiveByte    /    SendString    /    Ev_Timer    /    Ev_Stop    /    Ev_AddInterrupts    /    SendScript    /    SendCommand    /    Ev_Initialise    /    ReadString    /    Ev_ChipChange    /    Pvt_ScriptsShowHide    /    SaveSettings    /    SendByte    /    Ev_Pause    /    Ev_Property    /    SetMode    /    Ev_Renamed    /    Ev_GetVarSize    /    RestoreFactorySettings    /    BT_ISR    /    Main    /    Ev_Resume    /    Initialise    /    pvt_RemoveListOpt

SaveSettings

Return:     BYTE

Your browser does not support the HTML5 canvas tag.

SetPairKey    /    ReceiveByte    /    SendString    /    Ev_Timer    /    Ev_Stop    /    Ev_AddInterrupts    /    SendScript    /    SendCommand    /    Ev_Initialise    /    ReadString    /    Ev_ChipChange    /    Pvt_ScriptsShowHide    /    SaveSettings    /    SendByte    /    Ev_Pause    /    Ev_Property    /    SetMode    /    Ev_Renamed    /    Ev_GetVarSize    /    RestoreFactorySettings    /    BT_ISR    /    Main    /    Ev_Resume    /    Initialise    /    pvt_RemoveListOpt

SendByte

Return:     VOID
Params:     BYTE Data    

Your browser does not support the HTML5 canvas tag.

SetPairKey    /    ReceiveByte    /    SendString    /    Ev_Timer    /    Ev_Stop    /    Ev_AddInterrupts    /    SendScript    /    SendCommand    /    Ev_Initialise    /    ReadString    /    Ev_ChipChange    /    Pvt_ScriptsShowHide    /    SaveSettings    /    SendByte    /    Ev_Pause    /    Ev_Property    /    SetMode    /    Ev_Renamed    /    Ev_GetVarSize    /    RestoreFactorySettings    /    BT_ISR    /    Main    /    Ev_Resume    /    Initialise    /    pvt_RemoveListOpt

Ev_Pause

Return:     UNSIGNED LONG

Your browser does not support the HTML5 canvas tag.

SetPairKey    /    ReceiveByte    /    SendString    /    Ev_Timer    /    Ev_Stop    /    Ev_AddInterrupts    /    SendScript    /    SendCommand    /    Ev_Initialise    /    ReadString    /    Ev_ChipChange    /    Pvt_ScriptsShowHide    /    SaveSettings    /    SendByte    /    Ev_Pause    /    Ev_Property    /    SetMode    /    Ev_Renamed    /    Ev_GetVarSize    /    RestoreFactorySettings    /    BT_ISR    /    Main    /    Ev_Resume    /    Initialise    /    pvt_RemoveListOpt

Ev_Property

Return:     UNSIGNED LONG
Vars:     STRING temp_str     BYTE length     HANDLE Handle    

Your browser does not support the HTML5 canvas tag.

SetPairKey    /    ReceiveByte    /    SendString    /    Ev_Timer    /    Ev_Stop    /    Ev_AddInterrupts    /    SendScript    /    SendCommand    /    Ev_Initialise    /    ReadString    /    Ev_ChipChange    /    Pvt_ScriptsShowHide    /    SaveSettings    /    SendByte    /    Ev_Pause    /    Ev_Property    /    SetMode    /    Ev_Renamed    /    Ev_GetVarSize    /    RestoreFactorySettings    /    BT_ISR    /    Main    /    Ev_Resume    /    Initialise    /    pvt_RemoveListOpt

SetMode

Return:     BYTE
Params:     BYTE Discoverable     BYTE Connectable    

Your browser does not support the HTML5 canvas tag.

SetPairKey    /    ReceiveByte    /    SendString    /    Ev_Timer    /    Ev_Stop    /    Ev_AddInterrupts    /    SendScript    /    SendCommand    /    Ev_Initialise    /    ReadString    /    Ev_ChipChange    /    Pvt_ScriptsShowHide    /    SaveSettings    /    SendByte    /    Ev_Pause    /    Ev_Property    /    SetMode    /    Ev_Renamed    /    Ev_GetVarSize    /    RestoreFactorySettings    /    BT_ISR    /    Main    /    Ev_Resume    /    Initialise    /    pvt_RemoveListOpt

Ev_Renamed

Return:     UNSIGNED LONG
Vars:     STRING Name    

Your browser does not support the HTML5 canvas tag.

SetPairKey    /    ReceiveByte    /    SendString    /    Ev_Timer    /    Ev_Stop    /    Ev_AddInterrupts    /    SendScript    /    SendCommand    /    Ev_Initialise    /    ReadString    /    Ev_ChipChange    /    Pvt_ScriptsShowHide    /    SaveSettings    /    SendByte    /    Ev_Pause    /    Ev_Property    /    SetMode    /    Ev_Renamed    /    Ev_GetVarSize    /    RestoreFactorySettings    /    BT_ISR    /    Main    /    Ev_Resume    /    Initialise    /    pvt_RemoveListOpt

Ev_GetVarSize

Return:     UNSIGNED LONG
Params:     STRING VarName     Elements    
Vars:     BYTE comp    

Your browser does not support the HTML5 canvas tag.

SetPairKey    /    ReceiveByte    /    SendString    /    Ev_Timer    /    Ev_Stop    /    Ev_AddInterrupts    /    SendScript    /    SendCommand    /    Ev_Initialise    /    ReadString    /    Ev_ChipChange    /    Pvt_ScriptsShowHide    /    SaveSettings    /    SendByte    /    Ev_Pause    /    Ev_Property    /    SetMode    /    Ev_Renamed    /    Ev_GetVarSize    /    RestoreFactorySettings    /    BT_ISR    /    Main    /    Ev_Resume    /    Initialise    /    pvt_RemoveListOpt

RestoreFactorySettings

Return:     BYTE

Your browser does not support the HTML5 canvas tag.

SetPairKey    /    ReceiveByte    /    SendString    /    Ev_Timer    /    Ev_Stop    /    Ev_AddInterrupts    /    SendScript    /    SendCommand    /    Ev_Initialise    /    ReadString    /    Ev_ChipChange    /    Pvt_ScriptsShowHide    /    SaveSettings    /    SendByte    /    Ev_Pause    /    Ev_Property    /    SetMode    /    Ev_Renamed    /    Ev_GetVarSize    /    RestoreFactorySettings    /    BT_ISR    /    Main    /    Ev_Resume    /    Initialise    /    pvt_RemoveListOpt

BT_ISR

Return:     VOID
Vars:     BYTE BT_In    

Your browser does not support the HTML5 canvas tag.

SetPairKey    /    ReceiveByte    /    SendString    /    Ev_Timer    /    Ev_Stop    /    Ev_AddInterrupts    /    SendScript    /    SendCommand    /    Ev_Initialise    /    ReadString    /    Ev_ChipChange    /    Pvt_ScriptsShowHide    /    SaveSettings    /    SendByte    /    Ev_Pause    /    Ev_Property    /    SetMode    /    Ev_Renamed    /    Ev_GetVarSize    /    RestoreFactorySettings    /    BT_ISR    /    Main    /    Ev_Resume    /    Initialise    /    pvt_RemoveListOpt

Main

Return:     VOID

Your browser does not support the HTML5 canvas tag.

SetPairKey    /    ReceiveByte    /    SendString    /    Ev_Timer    /    Ev_Stop    /    Ev_AddInterrupts    /    SendScript    /    SendCommand    /    Ev_Initialise    /    ReadString    /    Ev_ChipChange    /    Pvt_ScriptsShowHide    /    SaveSettings    /    SendByte    /    Ev_Pause    /    Ev_Property    /    SetMode    /    Ev_Renamed    /    Ev_GetVarSize    /    RestoreFactorySettings    /    BT_ISR    /    Main    /    Ev_Resume    /    Initialise    /    pvt_RemoveListOpt

Ev_Resume

Return:     UNSIGNED LONG

Your browser does not support the HTML5 canvas tag.

SetPairKey    /    ReceiveByte    /    SendString    /    Ev_Timer    /    Ev_Stop    /    Ev_AddInterrupts    /    SendScript    /    SendCommand    /    Ev_Initialise    /    ReadString    /    Ev_ChipChange    /    Pvt_ScriptsShowHide    /    SaveSettings    /    SendByte    /    Ev_Pause    /    Ev_Property    /    SetMode    /    Ev_Renamed    /    Ev_GetVarSize    /    RestoreFactorySettings    /    BT_ISR    /    Main    /    Ev_Resume    /    Initialise    /    pvt_RemoveListOpt

Initialise

Return:     BYTE
Vars:     STRING CmdStr    

Your browser does not support the HTML5 canvas tag.

SetPairKey    /    ReceiveByte    /    SendString    /    Ev_Timer    /    Ev_Stop    /    Ev_AddInterrupts    /    SendScript    /    SendCommand    /    Ev_Initialise    /    ReadString    /    Ev_ChipChange    /    Pvt_ScriptsShowHide    /    SaveSettings    /    SendByte    /    Ev_Pause    /    Ev_Property    /    SetMode    /    Ev_Renamed    /    Ev_GetVarSize    /    RestoreFactorySettings    /    BT_ISR    /    Main    /    Ev_Resume    /    Initialise    /    pvt_RemoveListOpt

pvt_RemoveListOpt

Return:     STRING
Params:     STRING ListStr     STRING OptStr    
Vars:     UNSIGNED INT ListLen     UNSIGNED INT OptLen     UNSIGNED INT IdxMax     UNSIGNED INT Idx     BYTE LoopExit     BYTE StrMatch     STRING TestStr    

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