Commit Graph
100 Commits
Author SHA1 Message Date
maniacbug a28e2361fc SPI bus speed divider to 4, suggested by Greg Copeland. Also removed duplicated spi setup out of begin(), as it's all in csn() 2011-09-12 19:27:27 -07:00
maniacbug dceef7b45e Added more information about whether the write was successful. 2011-09-12 19:13:07 -07:00
maniacbug cc7e0a2f19 Fixed a bug when pipe 0 was NOT being used for writing. 2011-09-12 19:11:37 -07:00
maniacbug 5344c5fe8c CHanged default data rate to 1MBps and default channel to 100 for better performance 2011-08-04 20:46:30 -07:00
maniacbug 7aeaf0d373 Added FAQ page to docs 2011-08-04 20:46:24 -07:00
maniacbug 4c21ab6ad0 Added back in gcopeland's additional debugging info, with readable values. 2011-08-04 20:16:07 -07:00
maniacbug 8f17e63a22 Add getDataRate, add DISABLED to data rate enum 2011-08-04 20:14:27 -07:00
maniacbug 483361029e Reorganize header file to better group the now very large list of methods 2011-08-02 21:35:45 -07:00
maniacbug b715bf0fc8 Comment cleanups 2011-08-02 21:15:14 -07:00
maniacbug d967f7708f Test refinement. IRQ test times out after not receiving anything, warning that you probably don't have interrupts hooked up. 2011-08-02 21:00:31 -07:00
maniacbug a261710761 Comment cleanups 2011-08-02 20:59:57 -07:00
maniacbug 3aab74ae8f Merge master with static payload fixes 2011-08-02 16:38:14 -07:00
maniacbug 39ca6b95dd Ignore .swp files 2011-08-02 16:35:04 -07:00
maniacbug 89180f2844 Added another test of a simpler calling pattern. No IRQ, no dynamic payload or ack packet. 2011-08-02 16:34:18 -07:00
maniacbug a31cafcc88 Static and dynamic payloads now fully fixed and interoperable 2011-08-02 16:31:18 -07:00
maniacbug 4542464e0b Merge fix for static payloads 2011-08-02 15:55:14 -07:00
maniacbug af00a61555 Fix bug in which static payloads were broken 2011-08-02 15:51:51 -07:00
maniacbug 2f33bdbebd Experimental changes to help in debugging 2011-08-02 15:24:46 -07:00
maniacbug df328408f7 Fix bugs. Ack payload available was broken since interrupts went in. stREtries was missing since the gcopeland merge. 2011-08-02 15:24:19 -07:00
maniacbug 7b401d7281 Improve pingpair timing. Should lead to less timeouts. 2011-08-01 21:05:54 -07:00
maniacbug c9d64fd088 More doc tweaks 2011-08-01 09:52:35 -07:00
maniacbug fcc3dfbedb Fix up some doc bugs 2011-08-01 09:46:13 -07:00
maniacbug 18ebe7a0aa Treat warning as errors in tests 2011-08-01 09:45:55 -07:00
maniacbug 77a798b1a9 Changed test to use new 250kbps mode 2011-07-31 10:17:07 -07:00
maniacbug cd3b0b3ccb Merge cleanups 2011-07-31 10:00:21 -07:00
maniacbug 956b63a4dc sed s/boolean/bool/g 2011-07-31 10:00:09 -07:00
maniacbug 14c34ca2e4 astyle -A1 -s2 2011-07-31 09:47:41 -07:00
maniacbug 602d96264a Merge gcopeland/constremove 2011-07-31 09:45:40 -07:00
maniacbug d436895f7c Added 3rd test case, static payload 2011-07-13 21:42:16 -07:00
maniacbug c408c5ef90 Simplify specification of test configs slightly 2011-07-13 21:22:39 -07:00
maniacbug c13db8f42d Added a second test configuration 2011-07-13 19:13:57 -07:00
maniacbug 1517f1249d Fixed bug in setcrclength and setdatarate which was mishandling the bits 2011-07-13 19:13:32 -07:00
maniacbug 7640852edf prepare tests to run with configuration parameters 2011-07-13 18:47:46 -07:00
maniacbug af37c345e8 Created an all-up script runner 2011-07-13 15:41:37 -07:00
maniacbug c624815704 bugfix 2011-07-13 15:28:34 -07:00
maniacbug 22b4c558cd Added a test script to control the test, using python. 2011-07-13 15:02:03 -07:00
maniacbug 77411b4ec5 Added working test 2011-07-13 14:12:05 -07:00
maniacbug 0946538f3a Created skeleton of new test 2011-07-13 13:01:04 -07:00
maniacbug a783ed38da Fixed missing includes, thanks to Spoiler for reporting the problem. 2011-07-10 20:55:25 -07:00
maniacbug 20e91ab82b comments 2011-07-10 08:26:49 -07:00
maniacbug 42bf3e8cd2 Purge 'boolean' type, use 'bool' instead 2011-07-10 08:22:30 -07:00
maniacbug ccf32891f0 comments 2011-07-10 08:18:41 -07:00
maniacbug 774f53d6c5 Reduce example payload size. Does this help reliability? 2011-07-10 08:18:37 -07:00
maniacbug 9566c82367 Clean up read() to use new-style read_register, which reduces it to two lines of code 2011-07-10 08:12:12 -07:00
maniacbug 63eb62ebc3 Implement dynamic payloads, with an example 2011-07-10 08:00:58 -07:00
maniacbug 98fbd44111 Adding new example pingpair_dyn for dynamic payloads 2011-07-10 07:12:58 -07:00
maniacbug 32e8b3fbbb astyle -A1 -s2 2011-07-08 22:29:16 -07:00
maniacbug b000a87aa1 Optimization of whatHappened, suggested by Mike Denzien 2011-07-08 22:25:44 -07:00
maniacbug f8e6984ccc docupdate 2011-07-08 22:19:54 -07:00
maniacbug d5a3e79c66 astyle -A1 -s2 2011-07-08 22:15:37 -07:00
maniacbug 062d83346b Now both roles use the IRQ. Thanks to Mike Denzien for testing & troubleshooting. 2011-07-08 22:10:19 -07:00
maniacbug 854956687f Simplified printing, ok to do just from the irq handler 2011-07-06 21:00:45 -07:00
maniacbug d3fff68a7c Created a non-blocking write and an example for how to use it. 2011-07-06 20:49:59 -07:00
maniacbug bb37e88094 Initial checking of new pingpair_irq example. Right now this is just the pingpair example but renamed. 2011-07-06 19:59:06 -07:00
maniacbug fbae441249 Factored out status-checking from write() into a public method 2011-07-06 19:51:30 -07:00
maniacbug c62224ff86 More comments, factored out powerdown from write() 2011-06-29 21:46:46 -07:00
maniacbug c5823c2605 Made timeouts more explicit in write() 2011-06-29 21:38:17 -07:00
maniacbug ca4820cd27 Documented some questionable behaviour as pointed out by mdenzien 2011-06-28 21:21:45 -07:00
maniacbug c151ffbf67 Tidied up EN_RXADDR setting 2011-06-28 06:56:24 -07:00
maniacbug 8701d82615 Fix bug in setDataRate 2011-06-28 06:46:45 -07:00
maniacbug a22906f961 Added setRetries() 2011-06-28 06:44:41 -07:00
maniacbug 1c6cc96fb7 docupdate 2011-06-28 06:31:16 -07:00
maniacbug 04e72775bb Add dynpd/feature to printDetails 2011-06-28 06:30:03 -07:00
maniacbug 81f85bd521 Prettied up printDetails some more 2011-06-28 06:27:36 -07:00
maniacbug 86798b65e4 Purge useless gitignores 2011-06-27 21:25:44 -07:00
maniacbug 549d4054fb Deleted starping relay. Superseded by RF24Network. 2011-06-27 21:24:17 -07:00
maniacbug e7c30f265f Moved completely over to jam. bye bye make\! 2011-06-27 21:23:27 -07:00
maniacbug ce881ba0dc Removed unused file 2011-06-27 21:16:26 -07:00
maniacbug fea8c0e82f Move examples to 57600 baud 2011-06-27 21:06:08 -07:00
maniacbug 91df6f6df5 Fixed bug of not including name. Also added extra tab on short strings. 2011-06-27 21:01:58 -07:00
maniacbug 92373ba7f5 Refactor repeated parts of printDetails into own methods 2011-06-27 14:17:00 -07:00
maniacbug aa7a7c647a Cleaned up some reinterpret casts to use new-style casts 2011-06-25 21:24:42 -07:00
maniacbug 8d5f020c78 Added Jamfile for led_remote 2011-06-25 21:23:25 -07:00
maniacbug 14dcc343dc Fixed unused parameter warning 2011-06-25 21:22:20 -07:00
maniacbug 6e6264be43 Fix bug in openReadingPipe which disallowed pipe 5 2011-06-25 21:18:13 -07:00
maniacbug 748fde239b Add RF_SETUP to printDetails 2011-06-25 21:17:53 -07:00
maniacbug 3cc856aa95 Changed the logic. Button press now toggles the LED. 2011-06-25 21:14:51 -07:00
maniacbug 26c45e85a9 astyle -A1 2011-06-04 16:01:43 -07:00
maniacbug bec84a7907 Fixed led_remote in docs 2011-06-04 15:25:47 -07:00
maniacbug a62338f3a7 Added led_remote to docs 2011-06-04 15:20:53 -07:00
maniacbug ad99581285 Added a new example 2011-06-03 06:42:47 -07:00
maniacbug 731c472abc Fixed a bug in setDataRate 2011-05-27 20:11:38 -07:00
maniacbug 34efd5ac94 Added setCRCLength 2011-05-27 20:09:29 -07:00
maniacbug ec33f03368 Made all CONFIG register changes incremental not absolute 2011-05-27 19:32:59 -07:00
maniacbug af9261cf93 Added 3rd FTDI port for my own use 2011-05-27 19:32:36 -07:00
maniacbug 4131420de7 Added setDataRate() 2011-05-26 20:48:30 -07:00
maniacbug a6e7444059 Added carrier detect and auto ack enable/disable 2011-05-25 22:23:25 -07:00
maniacbug bee284f9c5 Added carrier detect and auto-ack disable, and an example to use it 2011-05-25 22:22:21 -07:00
maniacbug f3369a552c Updating docs 2011-05-25 21:02:11 -07:00
maniacbug 1c65c7f181 Revised documentation 2011-05-25 20:52:01 -07:00
maniacbug 1062f9d879 Environment-specific changes for me. Testing out latest arduino from git, and added a 3rd upload option 2011-05-25 20:47:16 -07:00
maniacbug 40eea86ffe Avoid spurious warnings 2011-05-25 20:46:31 -07:00
maniacbug badc86cfe0 Added extra debugging readability 2011-05-21 23:25:36 -07:00
maniacbug 8f80038227 Do clock divider on chip select. Should improve SPI interop with other devices 2011-05-21 23:24:27 -07:00
maniacbug 937805d6a2 Renamed ping delay to ping interval and added some comments 2011-05-15 07:32:04 -07:00
maniacbug 77a4c95319 Comment bug 2011-05-15 07:26:25 -07:00
maniacbug 0b3f8fec65 Merge branch 'master' of github.com:maniacbug/RF24 2011-05-15 07:22:34 -07:00
maniacbug 7e658242e2 Refactored common code from leaf/relay nodes into static functions. Improved comments. 2011-05-15 07:22:11 -07:00
maniacbug 1d28d28a29 Now caches the reading pipe 0 and re-sets it when starting to listen. 2011-05-15 07:21:11 -07:00
maniacbug e86c6b0f15 Leaf only starts hunting for a new slot after 3 timeouts. Makes the system more stable. 2011-05-13 21:00:26 -07:00