A collection of Analog Devices drivers for the mbed platform
For additional information check out the mbed page of the Analog Devices wiki: https://wiki.analog.com/resources/tools-software/mbed-drivers-all
Diff: libraries/ad7790/AD7790.cpp
- Revision:
- 13:66c8e4ce4ff1
- Parent:
- 11:2e67c719ce37
- Child:
- 16:b8a49ec95bad
--- a/libraries/ad7790/AD7790.cpp Thu Apr 21 18:01:41 2016 +0300 +++ b/libraries/ad7790/AD7790.cpp Fri Apr 29 16:19:00 2016 +0300 @@ -61,7 +61,7 @@ PinName MOSI, PinName MISO, PinName SCK) : - ad7790(MOSI, MISO, SCK), cs(CS), miso(MISO), _vref(reference_voltage), _PGA_gain(1) + miso(MISO), ad7790(MOSI, MISO, SCK), cs(CS), _vref(reference_voltage), _PGA_gain(1) { cs = true; // cs is active low ad7790.format(8, _SPI_MODE);