1. 20 Feb, 2016 1 commit
  2. 19 Feb, 2016 1 commit
  3. 09 Feb, 2016 1 commit
  4. 08 Feb, 2016 1 commit
    • Flavio Fernandes's avatar
      Fix warning: C++11 requires a space between literal and identifier · c3a0996b
      Flavio Fernandes authored
      This change fixes the following compiler warning I get when building
      on Arduino IDE version 1.6.7
      
      "/var/folders/sv/27zk61c9449f9wycpfhq9dmr0000gn/T/build68a338274e8c0af55d2a1e6113ec3df2.tmp/libraries/RF24/RF24.cpp.o"
      /Users/flaviof/Documents/Arduino/libraries/RF24/RF24.cpp:559:17: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]
         printf_P(PSTR("Data Rate\t = "PRIPSTR"\r\n"),pgm_read_word(&rf24_datarate_e_str_P[getDataRate()]));
                       ^
      /Users/flaviof/Documents/Arduino/libraries/RF24/RF24.cpp:560:17: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]
         printf_P(PSTR("Model\t\t = "PRIPSTR"\r\n"),pgm_read_word(&rf24_model_e_str_P[isPVariant()]));
                       ^
      /Users/flaviof/Documents/Arduino/libraries/RF24/RF24.cpp:561:17: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]
         printf_P(PSTR("CRC Length\t = "PRIPSTR"\r\n"),pgm_read_word(&rf24_crclength_e_str_P[getCRCLength()]));
                       ^
      /Users/flaviof/Documents/Arduino/libraries/RF24/RF24.cpp:562:17: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]
         printf_P(PSTR("PA Power\t = "PRIPSTR"\r\n"),  pgm_read_word(&rf24_pa_dbm_e_str_P[getPALevel()]));
                       ^
      c3a0996b
  5. 06 Feb, 2016 1 commit
  6. 05 Feb, 2016 1 commit
  7. 28 Jan, 2016 1 commit
    • Eric Lee's avatar
      Fix GettingStarted sample · 81f1c0d5
      Eric Lee authored
      The GettingStarted sample is apparently intended to send a number from the transmitter
      to the receiver and echo that same number back again, but the code wasn't outputting
      the echoed number properly. Now it doesn, and the user can see that the same number was
      sent and echoed back.
      81f1c0d5
  8. 27 Jan, 2016 1 commit
  9. 25 Jan, 2016 1 commit
  10. 23 Jan, 2016 1 commit
  11. 10 Jan, 2016 2 commits
  12. 07 Jan, 2016 10 commits
  13. 29 Dec, 2015 1 commit
  14. 28 Dec, 2015 1 commit
    • TMRh20's avatar
      Fix per #183 · 9e68f9e1
      TMRh20 authored
      - Update scanner examples to use channels 0-125
      - Update documentation indicating channels 0-125 only
      - Per datasheet radio only has 126 channels
      9e68f9e1
  15. 24 Dec, 2015 1 commit
  16. 23 Dec, 2015 2 commits
  17. 21 Dec, 2015 3 commits
    • TMRh20's avatar
      Add 'static' to void in spi.h · ed9ae08d
      TMRh20 authored
      ed9ae08d
    • TMRh20's avatar
      Fixes for last commit · a57fafe0
      TMRh20 authored
      - SPI_HAS_TRANSACTION define was not being picked up properly: add
      define to RF24_arch_config.h
      - Fix beginTransaction call using RF_SPI_SPEED instead of RF24_SPI_SPEED
      - Change beginTransaction to use SPISettings object
      -
      a57fafe0
    • TMRh20's avatar
      Minor chgs to mirror Arduino SPI transaction API · f285fde2
      TMRh20 authored
      - Bring beginTransaction inline with Arduino API
      - #define SPI_HAS_TRANSACTION in SPI.h
      - #define the spi speed on both Arduino and RPi/Linux using
      RF24_SPI_SPEED instead of different vars
      - Chg beginTransaction to use bitOrder & mode instead of CSN
      - Add delay directly to chipSelect function (helps ensure pin is active
      before beginning SPI transactions)
      
      #173
      f285fde2
  18. 20 Dec, 2015 2 commits
  19. 19 Dec, 2015 6 commits
    • TMRh20's avatar
      Update RPi call_response_int2 example · bf06db96
      TMRh20 authored
      - Fix blank response detect & remove wait
      bf06db96
    • TMRh20's avatar
      Move interrupt examples, add new int examples · 2c4d1991
      TMRh20 authored
      - Create interrupts folder for RPi examples
      - Add new examples
      - Update Makefile
      2c4d1991
    • TMRh20's avatar
      Bugfix: Deadlocks due to RPi SPI mutex code · 9a5ea80c
      TMRh20 authored
      - SPI transfern function calls transfernb function so a deadlock was
      occurring when a lock was attempted prior to the call
      - Thread should be unlocked before returning if bcm2835_init() fails
      9a5ea80c
    • TMRh20's avatar
      Mutex handling for interrupts on RPi · 243e25f2
      TMRh20 authored
      - Create separate mutex for SPI vs User data handling
      Problems:
      A: Memory/Data conflicts became apparent after time without thread-safe
      queues
      B: Without implementing locking at the SPI level, even simple code
      examples (rx_transfer.cpp) would hang if a write was done out of sync
      with reads
      
      Solutions:
      A: Keep initial locking mechanism for users
      B: Implement separate automatic mutex and locking mechanism for SPI
      
      #172 #173
      243e25f2
    • TMRh20's avatar
      Add mutex locking to SPI functions for RPi · 715edc5e
      TMRh20 authored
      per #172 #173
      
      - Add mutex locking to SPI for RPi interrupt usage
      - Leave rfInterrupts() rfNoInterrupts() functions for testing purposes
      715edc5e
    • TMRh20's avatar
      Merge pull request #173 from Oitzu/master · a381194b
      TMRh20 authored
      Using interrupts on RPi
      a381194b
  20. 17 Dec, 2015 2 commits