Difference between revisions of "Component: SRF (WirelessThings) (SRF) (Wireless)"
From Flowcode Help
Jump to navigationJump to searchLine 73: | Line 73: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
Line 79: | Line 81: | ||
==Macro reference== | ==Macro reference== | ||
+ | ===SendString=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 97: | Line 100: | ||
+ | ===Wake=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 110: | Line 114: | ||
+ | ===SendChar=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 128: | Line 133: | ||
+ | ===Sleep=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 141: | Line 147: | ||
+ | ===SRFInitialise=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 154: | Line 161: | ||
+ | ===ReceiveString=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 177: | Line 185: | ||
+ | ===ReceiveChar=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- |
Revision as of 11:52, 3 February 2023
Author | MatrixTSL |
Version | 1.0 |
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.
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
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
SendString
![]() |
SendString |
Send a string of data using the SRF Module | |
![]() |
Data |
![]() |
Return |
Wake
![]() |
Wake |
Wake the SRF module. Includes a 10ms delay to allow radio to wake. | |
![]() |
Return |
SendChar
![]() |
SendChar |
![]() |
Char |
![]() |
Return |
Sleep
![]() |
Sleep |
Sets the SRF module to sleep mode. (Includes a 10mS delay to allow any data to finish sending) | |
![]() |
Return |
SRFInitialise
![]() |
SRFInitialise |
Initialise the SRF Module. Activate device through 'enable' pin, and wake device to ensure it is not sleeping. | |
![]() |
Return |
ReceiveString
![]() |
ReceiveString |
Send a string of data using the SRF Module | |
![]() |
Timeout |
![]() |
NumBytes |
![]() |
Return |
ReceiveChar
![]() |
ReceiveChar |
![]() |
Timeout |
![]() |
Return |