Component: E block Helper (E blocks 1)

From Flowcode Help
Revision as of 10:35, 17 November 2021 by Wiki bot (talk | contribs)
Jump to navigationJump to search
Author Matrix Ltd
Version 1.1
Category E-blocks 1


E-block Helper component

A purely cosmetic component to help simplify E-block connections without having to keep referring to the datasheets. Specify which E-block your using and the component will give you options for the patch settings and display the connections required.

Detailed description

No detailed description exists yet for this component

Examples

Example of E-blocks helper component being used to determine connections.

EBHelp.jpg

Downloadable macro reference

Fc9-comp-macro.png ReceiveCount
Returns the number of bytes currently sat waiting in the receive buffer. 
Fc9-u16-icon.png - UINT Return


Fc9-comp-macro.png ReadString
Copies the incoming data from the data string array to a local string variable.  
Fc9-u8-icon.png - BYTE NumBytes
Maximum number of bytes to try and read 
Fc9-string-icon.png - STRING Return


Fc9-comp-macro.png SendByte
Sends a single data byte out to the Bluetooth module. 
Fc9-u8-icon.png - BYTE Data
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png EnterCommandMode
Enters command mode allowing commands to be sent using the SendCommand macro. Returns: 0 = No Reply / 1 = Command Mode OK 
[[File:]] - Return


Fc9-comp-macro.png WaitForStringValue
Allows us to wait and check for an incoming value. Returns 1 if the string value is found otherwise returns 0. 
Fc9-string-icon.png - STRING Value
String value to look for 
Fc9-u16-icon.png - UINT Timeout
Length of time to wait in milliseconds 
[[File:]] - Return


Fc9-comp-macro.png GetMACAddress
Gets the local Bluetooth device MAC address. 
Fc9-string-icon.png - STRING Return


Fc9-comp-macro.png Initialise
Sets up the Bluetooth module including: - Enabling the UART - Configuring the module (Name / Key / etc) Returns 1 for OK and 0 for no reply. 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png Start
Startup routine required by the hardware device. Automatically clears the display after initialising. 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png SetLEDState
Sets the state of a single LED 
Fc9-u8-icon.png - BYTE Port
0 = PortA, 1 = PortB 
Fc9-u8-icon.png - BYTE LED
0 = LED0, 7 = LED7 
Fc9-u8-icon.png - BYTE State
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png GetRxIdent
Gets the Rx ID as a Integer Standard and Extended IDs. 
Fc9-u8-icon.png - BYTE Buffer
 
Fc9-u32-icon.png - ULONG Return


Fc9-comp-macro.png Initialise
Must be called before any other CAN component macros to enable and initialise the CAN peripheral.  
Fc9-void-icon.png - VOID Return



Property reference

Fc9-prop-icon.png Properties
Fc9-type-16-icon.png E-block ID
E-block product ID 
Fc9-type-10-icon.png E-block Name
Cosmetic name of the E-block to confirm you have the correct board. 
Fc9-type-10-icon.png Bit 0
Port 1 Bit 0 
Fc9-type-10-icon.png Bit 1
Port 1 Bit 1 
Fc9-type-10-icon.png Bit 2
Port 1 Bit 2 
Fc9-type-10-icon.png Bit 3
Port 1 Bit 3 
Fc9-type-10-icon.png Bit 4
Port 1 Bit 4 
Fc9-type-10-icon.png Bit 5
Port 1 Bit 5 
Fc9-type-10-icon.png Bit 6
Port 1 Bit 6 
Fc9-type-10-icon.png Bit 7
Port 1 Bit 7 
Fc9-type-10-icon.png Bit 0
Port 2 Bit 0 
Fc9-type-10-icon.png Bit 1
Port 2 Bit 1 
Fc9-type-10-icon.png Bit 2
Port 2 Bit 2 
Fc9-type-10-icon.png Bit 3
Port 2 Bit 3 
Fc9-type-10-icon.png Bit 4
Port 2 Bit 4 
Fc9-type-10-icon.png Bit 5
Port 2 Bit 5 
Fc9-type-10-icon.png Bit 6
Port 2 Bit 6 
Fc9-type-10-icon.png Bit 7
Port 2 Bit 7 
Fc9-conn-icon.png Connections
Fc9-conn-icon.png Simulations