Flowcode Project File Parser

Ben Rowland 2019 (C) Matrix TSL


Target Device

ESP.ESP32.Lolin32_Lite

Constants

SIGNED INT OO_SEARCHROM     SIGNED INT OO_SKIPROM     SIGNED INT OO_MATCHROM    

Globals

BYTE num_devices     HANDLE ConsoleHandle    

ReceiveByte    /    ScanBusSim    /    MatchROMSim    /    BusResetSim    /    TransmitByte    /    SkipROM    /    BusReset    /    TransmitByteSim    /    MatchROM    /    Ev_Renamed    /    ScanBus    /    GetDeviceCount    /    GetIDByte    /    Main    /    ReceiveByteSim    /    Initialise

ReceiveByte

Return:     BYTE
Vars:     BYTE Bit    

Your browser does not support the HTML5 canvas tag.

ReceiveByte    /    ScanBusSim    /    MatchROMSim    /    BusResetSim    /    TransmitByte    /    SkipROM    /    BusReset    /    TransmitByteSim    /    MatchROM    /    Ev_Renamed    /    ScanBus    /    GetDeviceCount    /    GetIDByte    /    Main    /    ReceiveByteSim    /    Initialise

ScanBusSim

Return:     BYTE
Vars:     BYTE device_count     BYTE loper    

Your browser does not support the HTML5 canvas tag.

ReceiveByte    /    ScanBusSim    /    MatchROMSim    /    BusResetSim    /    TransmitByte    /    SkipROM    /    BusReset    /    TransmitByteSim    /    MatchROM    /    Ev_Renamed    /    ScanBus    /    GetDeviceCount    /    GetIDByte    /    Main    /    ReceiveByteSim    /    Initialise

MatchROMSim

Return:     VOID
Params:     BYTE FamilyCode     BYTE SerialNumber    
Vars:     BYTE Idx    

Your browser does not support the HTML5 canvas tag.

ReceiveByte    /    ScanBusSim    /    MatchROMSim    /    BusResetSim    /    TransmitByte    /    SkipROM    /    BusReset    /    TransmitByteSim    /    MatchROM    /    Ev_Renamed    /    ScanBus    /    GetDeviceCount    /    GetIDByte    /    Main    /    ReceiveByteSim    /    Initialise

BusResetSim

Return:     BYTE
Vars:     BYTE dummy    

Your browser does not support the HTML5 canvas tag.

ReceiveByte    /    ScanBusSim    /    MatchROMSim    /    BusResetSim    /    TransmitByte    /    SkipROM    /    BusReset    /    TransmitByteSim    /    MatchROM    /    Ev_Renamed    /    ScanBus    /    GetDeviceCount    /    GetIDByte    /    Main    /    ReceiveByteSim    /    Initialise

TransmitByte

Return:     VOID
Params:     BYTE Command    
Vars:     BYTE dummy    

Your browser does not support the HTML5 canvas tag.

ReceiveByte    /    ScanBusSim    /    MatchROMSim    /    BusResetSim    /    TransmitByte    /    SkipROM    /    BusReset    /    TransmitByteSim    /    MatchROM    /    Ev_Renamed    /    ScanBus    /    GetDeviceCount    /    GetIDByte    /    Main    /    ReceiveByteSim    /    Initialise

SkipROM

Return:     VOID

Your browser does not support the HTML5 canvas tag.

ReceiveByte    /    ScanBusSim    /    MatchROMSim    /    BusResetSim    /    TransmitByte    /    SkipROM    /    BusReset    /    TransmitByteSim    /    MatchROM    /    Ev_Renamed    /    ScanBus    /    GetDeviceCount    /    GetIDByte    /    Main    /    ReceiveByteSim    /    Initialise

BusReset

Return:     BOOL
Vars:     BYTE dummy     BYTE retry    

Your browser does not support the HTML5 canvas tag.

ReceiveByte    /    ScanBusSim    /    MatchROMSim    /    BusResetSim    /    TransmitByte    /    SkipROM    /    BusReset    /    TransmitByteSim    /    MatchROM    /    Ev_Renamed    /    ScanBus    /    GetDeviceCount    /    GetIDByte    /    Main    /    ReceiveByteSim    /    Initialise

TransmitByteSim

Return:     VOID
Params:     BYTE Command    
Vars:     BYTE Counter    

Your browser does not support the HTML5 canvas tag.

ReceiveByte    /    ScanBusSim    /    MatchROMSim    /    BusResetSim    /    TransmitByte    /    SkipROM    /    BusReset    /    TransmitByteSim    /    MatchROM    /    Ev_Renamed    /    ScanBus    /    GetDeviceCount    /    GetIDByte    /    Main    /    ReceiveByteSim    /    Initialise

MatchROM

Return:     VOID
Params:     BYTE FamilyCode     BYTE SerialNumber    
Vars:     BYTE Idx    

Your browser does not support the HTML5 canvas tag.

ReceiveByte    /    ScanBusSim    /    MatchROMSim    /    BusResetSim    /    TransmitByte    /    SkipROM    /    BusReset    /    TransmitByteSim    /    MatchROM    /    Ev_Renamed    /    ScanBus    /    GetDeviceCount    /    GetIDByte    /    Main    /    ReceiveByteSim    /    Initialise

Ev_Renamed

Return:     UNSIGNED LONG
Vars:     STRING Name    

Your browser does not support the HTML5 canvas tag.

ReceiveByte    /    ScanBusSim    /    MatchROMSim    /    BusResetSim    /    TransmitByte    /    SkipROM    /    BusReset    /    TransmitByteSim    /    MatchROM    /    Ev_Renamed    /    ScanBus    /    GetDeviceCount    /    GetIDByte    /    Main    /    ReceiveByteSim    /    Initialise

ScanBus

Return:     BYTE
Vars:     BYTE device_count     BYTE loop    

Your browser does not support the HTML5 canvas tag.

ReceiveByte    /    ScanBusSim    /    MatchROMSim    /    BusResetSim    /    TransmitByte    /    SkipROM    /    BusReset    /    TransmitByteSim    /    MatchROM    /    Ev_Renamed    /    ScanBus    /    GetDeviceCount    /    GetIDByte    /    Main    /    ReceiveByteSim    /    Initialise

GetDeviceCount

Return:     BYTE

Your browser does not support the HTML5 canvas tag.

ReceiveByte    /    ScanBusSim    /    MatchROMSim    /    BusResetSim    /    TransmitByte    /    SkipROM    /    BusReset    /    TransmitByteSim    /    MatchROM    /    Ev_Renamed    /    ScanBus    /    GetDeviceCount    /    GetIDByte    /    Main    /    ReceiveByteSim    /    Initialise

GetIDByte

Return:     BYTE
Params:     BYTE Device     BYTE ByteIndex    

Your browser does not support the HTML5 canvas tag.

ReceiveByte    /    ScanBusSim    /    MatchROMSim    /    BusResetSim    /    TransmitByte    /    SkipROM    /    BusReset    /    TransmitByteSim    /    MatchROM    /    Ev_Renamed    /    ScanBus    /    GetDeviceCount    /    GetIDByte    /    Main    /    ReceiveByteSim    /    Initialise

Main

Return:     VOID
Vars:     UNSIGNED INT temp     BYTE idx    

Your browser does not support the HTML5 canvas tag.

ReceiveByte    /    ScanBusSim    /    MatchROMSim    /    BusResetSim    /    TransmitByte    /    SkipROM    /    BusReset    /    TransmitByteSim    /    MatchROM    /    Ev_Renamed    /    ScanBus    /    GetDeviceCount    /    GetIDByte    /    Main    /    ReceiveByteSim    /    Initialise

ReceiveByteSim

Return:     BYTE
Vars:     BYTE Counter     BYTE Bit    

Your browser does not support the HTML5 canvas tag.

ReceiveByte    /    ScanBusSim    /    MatchROMSim    /    BusResetSim    /    TransmitByte    /    SkipROM    /    BusReset    /    TransmitByteSim    /    MatchROM    /    Ev_Renamed    /    ScanBus    /    GetDeviceCount    /    GetIDByte    /    Main    /    ReceiveByteSim    /    Initialise

Initialise

Return:     VOID
Vars:     BYTE dummy    

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