马上注册,结交更多好友,享用更多功能,让你轻松玩转社区
您需要 登录 才可以下载或查看,没有账号?立即注册
×
#include "Max6675.h" |
// Max6675 module: SO on pin #8, SS on pin #9, CSK on pin #10 of Arduino UNO |
// Other pins are capable to run this library, as long as digitalRead works on SO, |
// and digitalWrite works on SS and CSKl |
// set offset for temperature measurement. |
// 1 stannds for 0.25 Celsius |
Serial.print(ts.getCelsius(), 2); |
Serial.print(" C / "); |
Serial.print(ts.getFahrenheit(), 2); |
Serial.print(" F / "); |
Serial.print(ts.getKelvin(), 2); |
Serial.print(" K
"); |
|