Beruflich Dokumente
Kultur Dokumente
#include "Adafruit_MAX31855.h"
#include "Adafruit_LEDBackpack.h"
#include "Adafruit_GFX.h"
#include <Wire.h>
Adafruit_7segment matrix = Adafruit_7segment();
int thermoDO = 4;
int thermoCS = 6;
int thermoCLK = 7;
void setup() {
Serial.begin(9600);
// Start up the library for 7-seg and set max brightness
matrix.begin(0x70);
matrix.setBrightness(15);
matrix.writeDisplay();
void loop() {
int c = thermocouple.readCelsius();
if (isnan(c)) {
Serial.println("Something wrong with thermocouple!");
} else {
String t = String(abs(c));
Serial.println(t);
delay(500);
}