Library to interface the SCP1000 temperature and pressure sensor.
Dependents: SCP1000_Example ku-make_sensor ku-make_sensor201302 SCP1000_Example ... more
Revision 5:8e06eb237dd2, committed 2010-10-05
- Comitter:
- kadams6
- Date:
- Tue Oct 05 20:02:42 2010 +0000
- Parent:
- 4:295e118b6e85
- Child:
- 6:70e36f2da425
- Commit message:
Changed in this revision
SCP1000.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SCP1000.cpp Tue Oct 05 19:59:20 2010 +0000 +++ b/SCP1000.cpp Tue Oct 05 20:02:42 2010 +0000 @@ -1,6 +1,6 @@ #include "SCP1000.h" -SCP1000:SCP1000(PinName mosi, PinName miso, PinName sclk, PinName cs) +SCP1000::SCP1000(PinName mosi, PinName miso, PinName sclk, PinName cs) : m_spi(mosi, miso, sclk) , m_cs(cs) { m_cs=1;