pressure_masuda
Dependencies: SCP1000 SCP1000_Example TextLCD mbed
Fork of SCP1000_Example by
main.cpp
- Committer:
- kadams6
- Date:
- 2010-10-20
- Revision:
- 1:6fb7e6fcbb68
- Parent:
- 0:fd585132c191
- Child:
- 2:479b749065ee
File content as of revision 1:6fb7e6fcbb68:
#include "mbed.h" #include "SCP1000.h" Serial pc(USBTX, USBRX); SCP1000 scp1000(p5,p6,p7,p8); int main() { pc.printf("The pressure is %d Pa and the temperature is %f C", scp1000.readPressure(), scp1000.readTemperature()); return(0); }