#include < SPI.h >
#include < max6675.h >
const int thermoDO = 12;
const int thermoCS = 10;
const int thermoCLK = 13;
MAX6675 thermocouple(thermoCLK, thermoCS, thermoDO);
const int heaterPin = 5;
const int fanPin = 6;
const int buzzerPin = 4;
const int buttonIncrease = 7;
const int buttonDecrease = 8;
int setTemp = 200; // Ajustar este valor según tu necesidad
int currentTemp = 0;
void setup() {
Serial.begin(9600);
pinMode(heaterPin, OUTPUT);
pinMode(fanPin, OUTPUT);
pinMode(buzzerPin, OUTPUT);