Flowcode Project File Parser

Ben Rowland 2019 (C) Matrix TSL


Target Device

PIC.16F.16F1937

Constants

BOOL false     BOOL true    

Globals

BYTE Current_Address     FLOAT Pixels     BYTE Interrupt    

SetMovingAverageMode    /    Write_Register    /    ClearInterrupt    /    SetInterruptMode    /    SetInterrupt    /    SetInterruptLevels    /    SamplePixels    /    Ev_Renamed    /    Read_N_Registers    /    signedMag12ToFloat    /    ReadThermistor    /    ReadPixel    /    Main    /    Initialise

SetMovingAverageMode

Return:     VOID
Params:     BOOL Mode    

Your browser does not support the HTML5 canvas tag.

SetMovingAverageMode    /    Write_Register    /    ClearInterrupt    /    SetInterruptMode    /    SetInterrupt    /    SetInterruptLevels    /    SamplePixels    /    Ev_Renamed    /    Read_N_Registers    /    signedMag12ToFloat    /    ReadThermistor    /    ReadPixel    /    Main    /    Initialise

Write_Register

Return:     BYTE
Params:     BYTE Reg     BYTE Data    
Vars:     BYTE dat    

Your browser does not support the HTML5 canvas tag.

SetMovingAverageMode    /    Write_Register    /    ClearInterrupt    /    SetInterruptMode    /    SetInterrupt    /    SetInterruptLevels    /    SamplePixels    /    Ev_Renamed    /    Read_N_Registers    /    signedMag12ToFloat    /    ReadThermistor    /    ReadPixel    /    Main    /    Initialise

ClearInterrupt

Return:     VOID

Your browser does not support the HTML5 canvas tag.

SetMovingAverageMode    /    Write_Register    /    ClearInterrupt    /    SetInterruptMode    /    SetInterrupt    /    SetInterruptLevels    /    SamplePixels    /    Ev_Renamed    /    Read_N_Registers    /    signedMag12ToFloat    /    ReadThermistor    /    ReadPixel    /    Main    /    Initialise

SetInterruptMode

Return:     VOID
Params:     BOOL Mode    

Your browser does not support the HTML5 canvas tag.

SetMovingAverageMode    /    Write_Register    /    ClearInterrupt    /    SetInterruptMode    /    SetInterrupt    /    SetInterruptLevels    /    SamplePixels    /    Ev_Renamed    /    Read_N_Registers    /    signedMag12ToFloat    /    ReadThermistor    /    ReadPixel    /    Main    /    Initialise

SetInterrupt

Return:     VOID
Params:     BOOL Mode    

Your browser does not support the HTML5 canvas tag.

SetMovingAverageMode    /    Write_Register    /    ClearInterrupt    /    SetInterruptMode    /    SetInterrupt    /    SetInterruptLevels    /    SamplePixels    /    Ev_Renamed    /    Read_N_Registers    /    signedMag12ToFloat    /    ReadThermistor    /    ReadPixel    /    Main    /    Initialise

SetInterruptLevels

Return:     VOID
Params:     FLOAT High     FLOAT Low     FLOAT Hysteresis    
Vars:     SIGNED INT Conv     BYTE h     BYTE l    

Your browser does not support the HTML5 canvas tag.

SetMovingAverageMode    /    Write_Register    /    ClearInterrupt    /    SetInterruptMode    /    SetInterrupt    /    SetInterruptLevels    /    SamplePixels    /    Ev_Renamed    /    Read_N_Registers    /    signedMag12ToFloat    /    ReadThermistor    /    ReadPixel    /    Main    /    Initialise

SamplePixels

Return:     VOID
Vars:     BYTE idx     UNSIGNED INT temp     BYTE Buff    

Your browser does not support the HTML5 canvas tag.

SetMovingAverageMode    /    Write_Register    /    ClearInterrupt    /    SetInterruptMode    /    SetInterrupt    /    SetInterruptLevels    /    SamplePixels    /    Ev_Renamed    /    Read_N_Registers    /    signedMag12ToFloat    /    ReadThermistor    /    ReadPixel    /    Main    /    Initialise

Ev_Renamed

Return:     UNSIGNED LONG
Vars:     STRING Name    

Your browser does not support the HTML5 canvas tag.

SetMovingAverageMode    /    Write_Register    /    ClearInterrupt    /    SetInterruptMode    /    SetInterrupt    /    SetInterruptLevels    /    SamplePixels    /    Ev_Renamed    /    Read_N_Registers    /    signedMag12ToFloat    /    ReadThermistor    /    ReadPixel    /    Main    /    Initialise

Read_N_Registers

Return:     VOID
Params:     BYTE Start_Reg     BYTE Num_Regs     BYTE Data    
Vars:     BYTE dat    

Your browser does not support the HTML5 canvas tag.

SetMovingAverageMode    /    Write_Register    /    ClearInterrupt    /    SetInterruptMode    /    SetInterrupt    /    SetInterruptLevels    /    SamplePixels    /    Ev_Renamed    /    Read_N_Registers    /    signedMag12ToFloat    /    ReadThermistor    /    ReadPixel    /    Main    /    Initialise

signedMag12ToFloat

Return:     FLOAT
Params:     UNSIGNED INT Val    
Vars:     UNSIGNED INT absVal    

Your browser does not support the HTML5 canvas tag.

SetMovingAverageMode    /    Write_Register    /    ClearInterrupt    /    SetInterruptMode    /    SetInterrupt    /    SetInterruptLevels    /    SamplePixels    /    Ev_Renamed    /    Read_N_Registers    /    signedMag12ToFloat    /    ReadThermistor    /    ReadPixel    /    Main    /    Initialise

ReadThermistor

Return:     FLOAT
Vars:     UNSIGNED INT temp     BYTE buff    

Your browser does not support the HTML5 canvas tag.

SetMovingAverageMode    /    Write_Register    /    ClearInterrupt    /    SetInterruptMode    /    SetInterrupt    /    SetInterruptLevels    /    SamplePixels    /    Ev_Renamed    /    Read_N_Registers    /    signedMag12ToFloat    /    ReadThermistor    /    ReadPixel    /    Main    /    Initialise

ReadPixel

Return:     FLOAT
Params:     BYTE Index    

Your browser does not support the HTML5 canvas tag.

SetMovingAverageMode    /    Write_Register    /    ClearInterrupt    /    SetInterruptMode    /    SetInterrupt    /    SetInterruptLevels    /    SamplePixels    /    Ev_Renamed    /    Read_N_Registers    /    signedMag12ToFloat    /    ReadThermistor    /    ReadPixel    /    Main    /    Initialise

Main

Return:     VOID

Your browser does not support the HTML5 canvas tag.

SetMovingAverageMode    /    Write_Register    /    ClearInterrupt    /    SetInterruptMode    /    SetInterrupt    /    SetInterruptLevels    /    SamplePixels    /    Ev_Renamed    /    Read_N_Registers    /    signedMag12ToFloat    /    ReadThermistor    /    ReadPixel    /    Main    /    Initialise

Initialise

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