Difference between revisions of "Component: RF 2.4GHz (nRF24L01) (Wireless)"
From Flowcode Help
Jump to navigationJump to searchLine 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 32: | Line 34: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 301: | Line 305: | ||
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
+ | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | RF Settings | ||
|- | |- | ||
|- | |- | ||
Line 308: | Line 316: | ||
| colspan="2" | Sets the RF channel from 0 - 127 = 2.4000GHz - 2.525GHz Both the transmitter and receiver should be on the same channel to receive data. | | colspan="2" | Sets the RF channel from 0 - 127 = 2.4000GHz - 2.525GHz Both the transmitter and receiver should be on the same channel to receive data. | ||
|- | |- | ||
− | | width="10%" align="center" style="background-color:# | + | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] |
− | | width="90%" style="background-color:# | + | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Connections |
|- | |- | ||
|- | |- | ||
Line 347: | Line 355: | ||
| colspan="2" | Chip enable, configures RX or TX mode | | colspan="2" | Chip enable, configures RX or TX mode | ||
|- | |- | ||
− | | width="10%" align="center" style="background-color:# | + | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] |
− | | width="90%" style="background-color:# | + | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation |
|- | |- | ||
|- | |- |
Latest revision as of 17:27, 9 November 2022
Author | Matrix Ltd. |
Version | 2.0 |
Category | Wireless |
Contents
RF 2.4GHz component
A simple RF communications module based on the 2.4GHz nRF24L01 modules.
Component Pack
COMMSB
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
![]() |
ReadRxByte |
Reads a single byte back from the local Rx buffer. | |
![]() |
Index |
Byte to read, range 0 - 31 | |
![]() |
Return |
![]() |
WriteTxByte |
Reads a single byte to the local Tx buffer. | |
![]() |
Index |
Byte to read, range 0 - 31 | |
![]() |
Value |
![]() |
Return |
![]() |
FlushRx |
Tells the RF module to flush the contents of the receive buffer. Returns the status from sending the command. | |
![]() |
Return |
![]() |
WriteTxFifo |
Writes the contents of the local Tx buffer to the Transmit FIFO. | |
![]() |
NumBytes |
Number of bytes to write to the FIFO, Range 1 - 32 | |
![]() |
Return |
![]() |
FlushTx |
Tells the RF module to flush the contents of the transmit buffer. Returns the status from sending the command. | |
![]() |
Return |
![]() |
CheckRX |
Check the Rx FIFO status register for any new data. Returns 0 = No data Returns 1 = New data available | |
![]() |
Return |
![]() |
ReadRegister |
Reads a single bytes from the selected register. Directly returns the value read back from the register. | |
![]() |
Reg |
Register address to access | |
![]() |
Return |
![]() |
WriteRegister |
Writes a single byte to the selected register. Returns the status of the write command. | |
![]() |
Reg |
Register address to access | |
![]() |
Value |
![]() |
Return |