Component: SRF (WirelessThings) (SRF) (Wireless)
From Flowcode Help
Jump to navigationJump to search| Author | MatrixTSL | 
| Version | 6.6 | 
| Category | Wireless | 
Contents
SRF (WirelessThings) component
The SRF is designed for wireless transmission and reception of serial data in an easy to use surface mounted module. It has an on-board balun and chip antenna, which can be detached for applications where an external antenna is required.
Version information
Library Version, Component Version, Date, Author, Info
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
ChangeHWBaud
|   | ChangeHWBaud | 
| Changes the hardware UART baud rate allowing for dynamic speed changes. | |
|  - BYTE | NewBaud | 
| 0=1200, 1=2400, 2=4800, 3=9600, 4=19200, 5=38400, 6=57600, 7=115200, 8=250000 | |
|  - VOID | Return | 
ReceiveByteArray
ReceiveChar
|   | ReceiveChar | 
|  - BYTE | Timeout | 
|  - INT | Return | 
ReceiveFloat
ReceiveNumber
ReceiveString
|   | ReceiveString | 
| Send a string of data using the SRF Module | |
|  - BYTE | Timeout | 
|  - BYTE | NumBytes | 
|  - STRING | Return | 
SRFInitialise
|   | SRFInitialise | 
| Initialise the SRF Module. Activate device through 'enable' pin, and wake device to ensure it is not sleeping. | |
|  - VOID | Return | 
SendByteArray
|   | SendByteArray | 
| Transmits an array of bytes via the UART peripheral | |
|  - BYTE | Data | 
| Data to transmit | |
|  - UINT | NumBytes | 
| Number of bytes to send from the array | |
|  - VOID | Return | 
SendChar
|   | SendChar | 
|  - INT | Char | 
|  - VOID | Return | 
SendFloat
|   | SendFloat | 
| Sends out a floating point number as an ASCII String from the UART interface. | |
|  - FLOAT | Number | 
|  - VOID | Return | 
SendNumber
|   | SendNumber | 
| Sends out a number as an ASCII String from the UART interface. | |
|  - LONG | Number | 
|  - VOID | Return | 
SendString
|   | SendString | 
| Send a string of data using the SRF Module | |
|  - STRING | Data | 
|  - VOID | Return | 
Sleep
|   | Sleep | 
| Sets the SRF module to sleep mode. (Includes a 10mS delay to allow any data to finish sending) | |
|  - VOID | Return | 
Wake
|   | Wake | 
| Wake the SRF module. Includes a 10ms delay to allow radio to wake. | |
|  - VOID | Return | 
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_SRF_Component_v2.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_SRF_Component_v2.fcfx






