• 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
RF24.cpp 42.9 KB