Library for interfacing with the AMICCOM A7105 2.4GHz FSK/GFSK Transceiver.
Diff: A7105.cpp
- Revision:
- 6:44b04880717b
- Parent:
- 4:ca02a935e8eb
- Child:
- 7:1b1d7e446aa4
diff -r a070723fc0ed -r 44b04880717b A7105.cpp --- a/A7105.cpp Thu Jan 01 19:16:53 2015 +0000 +++ b/A7105.cpp Thu Jan 01 19:23:08 2015 +0000 @@ -28,7 +28,8 @@ // assert CS _cs = 0; // write register and read value - uint8_t ret = _spi.write(_READ(regAddr)); + _spi.write(_READ(regAddr)); + uint8_t ret = _spi.write(0); // de-assert CS wait_us(1); _cs = 1;