Jason Engelman
/
max6675
main.cpp
- Committer:
- tecnosys
- Date:
- 2010-05-15
- Revision:
- 0:b49d36e03092
File content as of revision 0:b49d36e03092:
#include "mbed.h" #include "max6675.h" SPI spi(p11,p12,p13); max6675 max(spi,p18); Serial pc(USBTX,USBRX); int main() { while (1) { float temp = max.read_temp(); printf("\n\rT: %f",temp ); wait(.25); } }