mirror of
https://github.com/brendanhaines/kilncontroller.git
synced 2024-12-25 10:26:55 -07:00
working with production board v1 for temperature sensing, no output
This commit is contained in:
parent
a1436fc0a7
commit
af4b6504a8
|
@ -5,7 +5,7 @@
|
|||
|
||||
int MISO0 = 12;
|
||||
int CLK0 = 13;
|
||||
int CS0 = 2;
|
||||
int CS0 = 16;
|
||||
|
||||
LiquidCrystal_I2C lcd(0x27, 16, 2);
|
||||
MAX6675 t0(CLK0, CS0, MISO0);
|
||||
|
@ -41,15 +41,5 @@ void loop() {
|
|||
lcd.print("F ");
|
||||
lcd.print(t0.readCelsius());
|
||||
lcd.print("C");
|
||||
|
||||
// LED stuff
|
||||
lcd.setCursor(0, 1);
|
||||
lcd.print("LED: ON ");
|
||||
mcp.digitalWrite(8, HIGH);
|
||||
delay(2000);
|
||||
lcd.setCursor(0, 1);
|
||||
lcd.print("LED: OFF");
|
||||
mcp.digitalWrite(8, LOW);
|
||||
delay(2000);
|
||||
|
||||
delay(1000);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user