Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (18 sloc) 464 Bytes
// this library is public domain. enjoy!
#if ARDUINO >= 100
#include "Arduino.h"
#include "WProgram.h"
class MAX6675 {
MAX6675(int8_t SCLK, int8_t CS, int8_t MISO);
double readCelsius(void);
double readFahrenheit(void);
// For compatibility with older versions:
double readFarenheit(void) { return readFahrenheit(); }
int8_t sclk, miso, cs;
uint8_t spiread(void);