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:
- 17:b8356808e8ad
- Parent:
- 16:b8a49ec95bad
--- a/libraries/ad7790/AD7790.cpp Fri Apr 29 17:16:55 2016 +0300 +++ b/libraries/ad7790/AD7790.cpp Fri Apr 29 17:34:07 2016 +0300 @@ -61,7 +61,7 @@ PinName MOSI, PinName MISO, PinName SCK) : - miso(MISO), ad7790(MOSI, MISO, SCK), cs(CS), _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);