1. 27 Apr, 2015 1 commit
    • TMRh20's avatar
      Fix for SPI transaction code · c79ccc70
      TMRh20 authored
      - Fix for compatibility with SoftSPI and SPI_UART
      - I seemed to be running two different versions, fixed for compatibility
      between RPi and Arduino
      c79ccc70
  2. 23 Apr, 2015 3 commits
  3. 20 Apr, 2015 3 commits
  4. 19 Apr, 2015 2 commits
  5. 18 Apr, 2015 1 commit
  6. 29 Mar, 2015 1 commit
  7. 27 Mar, 2015 1 commit
  8. 26 Mar, 2015 8 commits
  9. 23 Mar, 2015 2 commits
  10. 18 Mar, 2015 1 commit
  11. 13 Mar, 2015 2 commits
  12. 04 Mar, 2015 3 commits
  13. 03 Mar, 2015 1 commit
  14. 02 Mar, 2015 2 commits
    • TMRh20's avatar
      Unify RF24 constructor API for all Linux platforms · bd5ad6b9
      TMRh20 authored
      - Define SPI config vars for non-Arduino systems:
      RF24_BIT_ORDER, RF24_DATA_MODE, RF24_CLOCK_DIVIDER
      - Allow use of standard RF24 constructor on RPi with default of 8Mhz SPI
      clock speed
      - Cleanup #ifdefs in RF24::csn();
      - Fix compile on ATTiny
      bd5ad6b9
    • TMRh20's avatar
      Update *.cpp examples pin config · b342d97f
      TMRh20 authored
      - Add BBB pin config to examples per @desertgourd #69
      - BBB tested and working well with SPIDEV and MRAA: Thanks to
      @desertgourd for all the testing, troubleshooting, etc
      - Sync pin config info between all *.cpp examples
      - Add links to related documentation in examples
      b342d97f
  15. 28 Feb, 2015 5 commits
    • TMRh20's avatar
      Merge pull request #78 from prophet-roshak/mraa · 71337bd4
      TMRh20 authored
      Added ```busNo``` passing to mraa::Spi()... per @prophet-roshak suggestion to SPI.begin chagnes
      71337bd4
    • Anton Sabadash's avatar
      Added ```busNo``` passing to mraa::Spi() object creation call so that SPI bus... · dd4b86aa
      Anton Sabadash authored
      Added ```busNo``` passing to mraa::Spi() object creation call so that SPI bus number now can be defined by user when instatiating RF24 object
      dd4b86aa
    • TMRh20's avatar
      30a01d74
    • TMRh20's avatar
      Update docs in 'updates' branch · b320f9e6
      TMRh20 authored
      - Add Template folder with example class declarations etc
      - Add template info to modules section in doxygen
      - Update related links etc for doxygen in RF24.h
      b320f9e6
    • TMRh20's avatar
      SPI/GPIO fixes/changes for MRAA and SPIDEV · c1bb29c7
      TMRh20 authored
      - Change SPI API for Linux devices to specify bus number in
      SPI.begin(0);
      - Enable kernel to handle cs toggling with SPIDEV
      - Comment out GPIO for CS pin with MRAA
      - Prevent linux devices from toggling CSN in RF24.cpp
      - Ensure all linux devices default to 0 or 1 for csn_pin
      - Remove some #ifdefs from RF24.cpp via above changes
      
      - Note: When using SPIDEV, if the pin used for CSN has been toggled via
      GPIO, users may need to do the following, to enable the kernel to toggle
      CSN:
      ``` sudo modprobe -r spi_bcm2708 ```
      ``` sudo modprobe spi_bcm2708  ```
      
      - Code needs cleanup/review
      
      #69 #74
      c1bb29c7
  16. 24 Feb, 2015 2 commits
  17. 23 Feb, 2015 1 commit
    • TMRh20's avatar
      BBB/SPIDEV changes · 40b907c3
      TMRh20 authored
      - Modify spidev writes for bbb/linux - Something seems to have changed
      with spidev with the spi_ioc_transfer struct on my machine. This seems
      closer to the spidevtest.c example, so hopefully keeps working???
      - Prevent warnings via compatibility.c/.h
      - Add spi.begin to align with RF24 spi functions
      40b907c3
  18. 22 Feb, 2015 1 commit
    • TMRh20's avatar
      Fix bugs in transfer example · 0066eece
      TMRh20 authored
      Inadequate testing appeared to indicate the CRC checking was at fault,
      this was incorrect.
      
      Seemed to be 2 separate bugs in transfer example:
      Symptoms: Arduino would start reading 150+ KB/s and about 5000
      payloads/second received after a period of time with transfers ongoing
      continuously.
      Fixes:
      1. Remove the printf of Payload Count (same issue with %lu )
      2. Prevent division into 0
      0066eece