Flowcode Project File Parser

Ben Rowland 2019 (C) Matrix TSL


Target Device

ARD.ATMEGA.Arduino Uno R3 PDIP

Constants

BOOL false     BOOL true    

Globals

BYTE RX     BYTE TX     HANDLE ConsoleHandle    

I2CInitialise    /    IOGetInputPin    /    ADCSample8    /    Ev_Initialise    /    I2CRestart    /    I2CStart    /    SPITransfer    /    I2CReceive    /    I2CStop    /    SPIPrescaler    /    ADCSample10    /    IOSetOutputPin    /    SPIInitialise    /    I2CSend    /    Main    /    Initialise

I2CInitialise

Return:     VOID

Your browser does not support the HTML5 canvas tag.

I2CInitialise    /    IOGetInputPin    /    ADCSample8    /    Ev_Initialise    /    I2CRestart    /    I2CStart    /    SPITransfer    /    I2CReceive    /    I2CStop    /    SPIPrescaler    /    ADCSample10    /    IOSetOutputPin    /    SPIInitialise    /    I2CSend    /    Main    /    Initialise

IOGetInputPin

Return:     BOOL
Params:     BYTE Pin    

Your browser does not support the HTML5 canvas tag.

I2CInitialise    /    IOGetInputPin    /    ADCSample8    /    Ev_Initialise    /    I2CRestart    /    I2CStart    /    SPITransfer    /    I2CReceive    /    I2CStop    /    SPIPrescaler    /    ADCSample10    /    IOSetOutputPin    /    SPIInitialise    /    I2CSend    /    Main    /    Initialise

ADCSample8

Return:     BYTE
Params:     BYTE ADCChannel    

Your browser does not support the HTML5 canvas tag.

I2CInitialise    /    IOGetInputPin    /    ADCSample8    /    Ev_Initialise    /    I2CRestart    /    I2CStart    /    SPITransfer    /    I2CReceive    /    I2CStop    /    SPIPrescaler    /    ADCSample10    /    IOSetOutputPin    /    SPIInitialise    /    I2CSend    /    Main    /    Initialise

Ev_Initialise

Return:     UNSIGNED LONG

Your browser does not support the HTML5 canvas tag.

I2CInitialise    /    IOGetInputPin    /    ADCSample8    /    Ev_Initialise    /    I2CRestart    /    I2CStart    /    SPITransfer    /    I2CReceive    /    I2CStop    /    SPIPrescaler    /    ADCSample10    /    IOSetOutputPin    /    SPIInitialise    /    I2CSend    /    Main    /    Initialise

I2CRestart

Return:     VOID

Your browser does not support the HTML5 canvas tag.

I2CInitialise    /    IOGetInputPin    /    ADCSample8    /    Ev_Initialise    /    I2CRestart    /    I2CStart    /    SPITransfer    /    I2CReceive    /    I2CStop    /    SPIPrescaler    /    ADCSample10    /    IOSetOutputPin    /    SPIInitialise    /    I2CSend    /    Main    /    Initialise

I2CStart

Return:     VOID

Your browser does not support the HTML5 canvas tag.

I2CInitialise    /    IOGetInputPin    /    ADCSample8    /    Ev_Initialise    /    I2CRestart    /    I2CStart    /    SPITransfer    /    I2CReceive    /    I2CStop    /    SPIPrescaler    /    ADCSample10    /    IOSetOutputPin    /    SPIInitialise    /    I2CSend    /    Main    /    Initialise

SPITransfer

Return:     BYTE
Params:     BYTE DataOut    

Your browser does not support the HTML5 canvas tag.

I2CInitialise    /    IOGetInputPin    /    ADCSample8    /    Ev_Initialise    /    I2CRestart    /    I2CStart    /    SPITransfer    /    I2CReceive    /    I2CStop    /    SPIPrescaler    /    ADCSample10    /    IOSetOutputPin    /    SPIInitialise    /    I2CSend    /    Main    /    Initialise

I2CReceive

Return:     BYTE
Params:     BOOL Last    

Your browser does not support the HTML5 canvas tag.

I2CInitialise    /    IOGetInputPin    /    ADCSample8    /    Ev_Initialise    /    I2CRestart    /    I2CStart    /    SPITransfer    /    I2CReceive    /    I2CStop    /    SPIPrescaler    /    ADCSample10    /    IOSetOutputPin    /    SPIInitialise    /    I2CSend    /    Main    /    Initialise

I2CStop

Return:     VOID

Your browser does not support the HTML5 canvas tag.

I2CInitialise    /    IOGetInputPin    /    ADCSample8    /    Ev_Initialise    /    I2CRestart    /    I2CStart    /    SPITransfer    /    I2CReceive    /    I2CStop    /    SPIPrescaler    /    ADCSample10    /    IOSetOutputPin    /    SPIInitialise    /    I2CSend    /    Main    /    Initialise

SPIPrescaler

Return:     VOID
Params:     BYTE Prescaler    

Your browser does not support the HTML5 canvas tag.

I2CInitialise    /    IOGetInputPin    /    ADCSample8    /    Ev_Initialise    /    I2CRestart    /    I2CStart    /    SPITransfer    /    I2CReceive    /    I2CStop    /    SPIPrescaler    /    ADCSample10    /    IOSetOutputPin    /    SPIInitialise    /    I2CSend    /    Main    /    Initialise

ADCSample10

Return:     UNSIGNED INT
Params:     BYTE ADCChannel    

Your browser does not support the HTML5 canvas tag.

I2CInitialise    /    IOGetInputPin    /    ADCSample8    /    Ev_Initialise    /    I2CRestart    /    I2CStart    /    SPITransfer    /    I2CReceive    /    I2CStop    /    SPIPrescaler    /    ADCSample10    /    IOSetOutputPin    /    SPIInitialise    /    I2CSend    /    Main    /    Initialise

IOSetOutputPin

Return:     VOID
Params:     BYTE Pin     BOOL State    

Your browser does not support the HTML5 canvas tag.

I2CInitialise    /    IOGetInputPin    /    ADCSample8    /    Ev_Initialise    /    I2CRestart    /    I2CStart    /    SPITransfer    /    I2CReceive    /    I2CStop    /    SPIPrescaler    /    ADCSample10    /    IOSetOutputPin    /    SPIInitialise    /    I2CSend    /    Main    /    Initialise

SPIInitialise

Return:     VOID

Your browser does not support the HTML5 canvas tag.

I2CInitialise    /    IOGetInputPin    /    ADCSample8    /    Ev_Initialise    /    I2CRestart    /    I2CStart    /    SPITransfer    /    I2CReceive    /    I2CStop    /    SPIPrescaler    /    ADCSample10    /    IOSetOutputPin    /    SPIInitialise    /    I2CSend    /    Main    /    Initialise

I2CSend

Return:     BOOL
Params:     BYTE DataOut    

Your browser does not support the HTML5 canvas tag.

I2CInitialise    /    IOGetInputPin    /    ADCSample8    /    Ev_Initialise    /    I2CRestart    /    I2CStart    /    SPITransfer    /    I2CReceive    /    I2CStop    /    SPIPrescaler    /    ADCSample10    /    IOSetOutputPin    /    SPIInitialise    /    I2CSend    /    Main    /    Initialise

Main

Return:     VOID
Vars:     BYTE duty    

Your browser does not support the HTML5 canvas tag.

I2CInitialise    /    IOGetInputPin    /    ADCSample8    /    Ev_Initialise    /    I2CRestart    /    I2CStart    /    SPITransfer    /    I2CReceive    /    I2CStop    /    SPIPrescaler    /    ADCSample10    /    IOSetOutputPin    /    SPIInitialise    /    I2CSend    /    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