Flowcode Project File Parser

Ben Rowland 2019 (C) Matrix TSL


Target Device

PIC.16F.16F1937

Constants

BOOL false     FLOAT PHI     BOOL true    

Globals

SIGNED INT X_Var     BYTE Current_Address     SIGNED INT Y_Var     BYTE Accel_Address     SIGNED INT Z_Var     BYTE Compass_Address     SIGNED INT Cz     SIGNED INT Cy     SIGNED INT Cx    

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

Read_Register

Return:     BYTE
Params:     BYTE Reg    
Vars:     BYTE dat    

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

ReadTemperature

Return:     SIGNED INT
Vars:     BYTE dat    

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

SimSetTemperature

Return:     VOID
Params:     SIGNED INT Temp    

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

Ev_Timer

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

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

SimReset1G

Return:     VOID

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

UpdateGyroData

Return:     BYTE
Vars:     BYTE dat    

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

ReadTemperatureSim

Return:     SIGNED INT
Vars:     STRING data    

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

Write_Register

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

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

UpdateCompassData

Return:     BYTE
Vars:     BYTE dat    

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

SimSetAccelerometer

Return:     VOID
Params:     SIGNED INT X     SIGNED INT Y     SIGNED INT Z    
Vars:     FLOAT real_val     FLOAT accel_range    

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

Ev_Initialise

Return:     UNSIGNED LONG
Vars:     STRING temp_str    

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

End_Transaction

Return:     VOID

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

Write_AK8963_Register

Return:     VOID
Params:     BYTE Reg     BYTE Data    

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

Ev_ChipChange

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

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

UpdateAccelerometerDataSim

Return:     BYTE
Vars:     BYTE temp_reg     FLOAT Reading     FLOAT accel_range    

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

Ev_Property

Return:     UNSIGNED LONG
Vars:     STRING temp_str    

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

CollectXYZData

Return:     SIGNED INT
Params:     BYTE Axis    

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

Read_AK8963_Registers

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

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

Write_N_Registers

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

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

Ev_Renamed

Return:     UNSIGNED LONG
Vars:     STRING Name    

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

ReadCompassCalibration

Return:     BYTE
Params:     BYTE Axis    
Vars:     BYTE Ax     BYTE dat    

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

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.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

SimSetGyro

Return:     VOID
Params:     SIGNED INT X     SIGNED INT Y     SIGNED INT Z    
Vars:     FLOAT real_val     FLOAT gyro_range    

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

UpdateAccelerometerData

Return:     BYTE
Vars:     BYTE Dat    

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

UpdateCompassData_Sim

Return:     BYTE
Vars:     BYTE temp_reg     FLOAT Reading     FLOAT compass_range    

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

SimSetCompass

Return:     VOID
Params:     SIGNED INT X     SIGNED INT Y     SIGNED INT Z    
Vars:     FLOAT real_val     FLOAT compass_range    

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

Init_Transaction

Return:     VOID
Params:     BYTE Mode     BYTE Reg     BYTE Multiple    
Vars:     BYTE temp_addr     BYTE ack    

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

Read_Bearing

Return:     UNSIGNED INT
Params:     BYTE NumSamples    
Vars:     FLOAT fcalc     FLOAT FXY    

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

Prv_SetScales

Return:     VOID
Vars:     BYTE subdivs     BYTE divs     FLOAT accel_range     FLOAT gyro_range    

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

Main

Return:     VOID

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

Initialise

Return:     BYTE
Vars:     BYTE Dat    

Your browser does not support the HTML5 canvas tag.

Read_Register    /    ReadTemperature    /    SimSetTemperature    /    Ev_Timer    /    SimReset1G    /    UpdateGyroData    /    ReadTemperatureSim    /    Write_Register    /    UpdateCompassData    /    SimSetAccelerometer    /    Ev_Initialise    /    End_Transaction    /    Write_AK8963_Register    /    Ev_ChipChange    /    UpdateAccelerometerDataSim    /    Ev_Property    /    CollectXYZData    /    Read_AK8963_Registers    /    Write_N_Registers    /    Ev_Renamed    /    ReadCompassCalibration    /    Read_N_Registers    /    SimSetGyro    /    UpdateAccelerometerData    /    UpdateCompassData_Sim    /    SimSetCompass    /    Init_Transaction    /    Read_Bearing    /    Prv_SetScales    /    Main    /    Initialise    /    UpdateGyroDataSim

UpdateGyroDataSim

Return:     BYTE
Vars:     BYTE temp_reg     FLOAT Reading     FLOAT gyro_range    

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