浏览代码

rename main

Tobias Simetsreiter 3 年之前
父节点
当前提交
db2ab03e74
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      .vscode/arduino.json
  2. 1 1
      main.ino

+ 1 - 1
.vscode/arduino.json

@@ -1,6 +1,6 @@
 {
     "configuration": "xtal=160,vt=flash,exception=disabled,stacksmash=disabled,ssl=all,mmu=3232,non32xfer=fast,eesz=4M2M,led=2,ip=lm2f,dbg=Serial,lvl=CORE,wipe=none,baud=115200",
     "board": "esp8266:esp8266:nodemcuv2",
-    "sketch": "test.ino",
+    "sketch": "main.ino",
     "port": "COM3"
 }

+ 1 - 1
test.ino → main.ino

@@ -131,7 +131,7 @@ void checkTemp(){
   } else {
     led1.off();
   }
-  Serial.printf("%d,%.10f,%.10f\n", millis(),shouldTemp,isTemp);
+  Serial.printf("%10d,%.10f,%.10f\n", millis(),shouldTemp,isTemp);
 }
 
 String boolToString(bool in){