SCP1000 Library
Dependents: SCP1000Example 0sample_SCP1000_USB SCP1000_Fastsensing
Diff: SCP1000.cpp
- Revision:
- 13:faf2decbd1d4
- Parent:
- 10:11a40ecf2361
- Child:
- 14:6ffff12eb3fc
--- a/SCP1000.cpp Fri Oct 28 09:45:16 2011 +0000 +++ b/SCP1000.cpp Mon Oct 31 10:04:46 2011 +0000 @@ -25,7 +25,7 @@ SCP1000::SCP1000(PinName mosi, PinName miso, PinName sclk, PinName cs, OperationMode mode) : spi(mosi, miso, sclk), selectPin(cs) { selectPin = 1; - spi.frequency(1000000); + spi.frequency(500000); spi.format(8, 0); // frame bits = 8, mode = 0 reset(); setOperationMode(mode);