Some improvement on mrcrsch's RF24 library
Fork of RF24_fork by
Diff: RF24.h
- Revision:
- 12:9a4127130006
- Parent:
- 6:5cc7136648d1
- Child:
- 13:d295c8b3f742
diff -r 1dd1d5ae6ca7 -r 9a4127130006 RF24.h --- a/RF24.h Sat Apr 22 10:22:56 2017 +0000 +++ b/RF24.h Sat Apr 22 10:52:01 2017 +0000 @@ -30,8 +30,6 @@ - - /** * Power Amplifier level. * @@ -61,23 +59,11 @@ { private: - - - - - - - - - - - - + SPI spi; DigitalOut ce_pin; /**< "Chip Enable" pin, activates the RX or TX role */ DigitalOut csn_pin; /**< SPI Chip select */ uint16_t spi_speed; /**< SPI Bus Speed */ - SPI spi; Timer mainTimer; bool p_variant; /* False for RF24L01 and true for RF24L01P */ @@ -86,7 +72,6 @@ uint8_t pipe0_reading_address[5]; /**< Last address set on pipe 0 for reading. */ uint8_t addr_width; /**< The address width to use - 3,4 or 5 bytes. */ uint32_t txRxDelay; /**< Var for adjusting delays depending on datarate */ - protected: /**