   // Initialize EEPROM and RTC
   eeprom.begin();
   rtc.begin();
+  thermocouple.begin();
   
   // Delay to let thermocouple stabilize
   delay(500);

// Maximum number of records
#define MAX_RECORDS 3640

Adafruit_MAX31855 thermocouple(13, 8, 12);
Nanoshield_EEPROM eeprom(0, 0, 0);
Nanoshield_RTC rtc;
unsigned int nextRecord;

This software is released under the MIT license. See the attached LICENSE file for details.
*/
#include <Wire.h>
#include <SPI.h>
#include <stdio.h>
#include "Nanoshield_Thermocouple.h"
#include "Nanoshield_EEPROM.h"
#include "Nanoshield_RTC.h"

// Define the temperature sampling interval in milliseconds
#define SAMPLING_INTERVAL 10000

// EEPROM record size in bytes
#define RECORD_SIZE 9
