C2C-plus code that uses a 16F84 to read a thermocouple via a Maxim's Max6674.
(by Ryan Dumouchel).
#define SO 1 // Serial data bit
#define SCK 2 //Serial clock bit
#define CS 3 //Chip select bit
char spihi, spilo;
void SPI_Read(void);
void SPI_Setup(void);