Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RF24
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
RF24
Commits
ca4820cd
Commit
ca4820cd
authored
Jun 28, 2011
by
maniacbug
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documented some questionable behaviour as pointed out by mdenzien
parent
c151ffbf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
README.md
README.md
+0
-2
RF24.h
RF24.h
+8
-2
No files found.
README.md
View file @
ca4820cd
# Arduino driver for nRF24L01 2.4GHz Wireless Transceiver
# Arduino driver for nRF24L01 2.4GHz Wireless Transceiver
CLEANUPS BRANCH: Bits and pieces of cleanup that I haven't tested on the radios yet.
Design Goals: This library is designed to be...
Design Goals: This library is designed to be...
*
Maximally compliant with the intended operation of the chip
*
Maximally compliant with the intended operation of the chip
...
...
RF24.h
View file @
ca4820cd
...
@@ -252,6 +252,9 @@ public:
...
@@ -252,6 +252,9 @@ public:
* getPayloadSize(). However, you can write less, and the remainder
* getPayloadSize(). However, you can write less, and the remainder
* will just be filled with zeroes.
* will just be filled with zeroes.
*
*
* @todo Write a non-blocking write to support users who want to
* check on progress separately or use an interrupt.
*
* @param buf Pointer to the data to be sent
* @param buf Pointer to the data to be sent
* @param len Number of bytes to be sent
* @param len Number of bytes to be sent
* @return True if the payload was delivered successfully false if not
* @return True if the payload was delivered successfully false if not
...
@@ -304,19 +307,22 @@ public:
...
@@ -304,19 +307,22 @@ public:
/**
/**
* Open a pipe for reading
* Open a pipe for reading
*
*
* Up to
5
pipes can be open for reading at once. Open all the
* Up to
6
pipes can be open for reading at once. Open all the
* reading pipes, and then call startListening().
* reading pipes, and then call startListening().
*
*
* @see openWritingPipe
* @see openWritingPipe
*
*
* @warning Pipes 1-5 should share the first 32 bits.
* @warning Pipes 1-5 should share the first 32 bits.
* Only the least significant byte should be unique, e.g.
* Only the least significant byte should be unique, e.g.
*
* @code
* @code
* openReadingPipe(1,0xF0F0F0F0AA);
* openReadingPipe(1,0xF0F0F0F0AA);
* openReadingPipe(2,0xF0F0F0F066);
* openReadingPipe(2,0xF0F0F0F066);
* @endcode
* @endcode
*
*
* @warning Pipe 0 is also used by the writing pipe. So if you open
* pipe 0 for reading, and then startListening(), it will overwrite the
* writing pipe. Ergo, do an openWritingPipe() again before write().
*
* @todo Enforce the restriction that pipes 1-5 must share the top 32 bits
* @todo Enforce the restriction that pipes 1-5 must share the top 32 bits
*
*
* @param number Which pipe# to open, 0-5.
* @param number Which pipe# to open, 0-5.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment