hello, im new in IOT,
and was try new little project, but got a little problem. i have to searh this forum, but not find with can undersatin me to learn.
i was setting my wemos d1 mini to read data from max6675, but i got problem to show on blynk. Serial monitor was succed to show temp.
anyone can help me please.
im using Wemos D1 mini, Max6675, Blynk app
this my code
> #define BLYNK_PRINT Serial
>
>
> #include <ESP8266WiFi.h>
> #include <BlynkSimpleEsp8266.h>
> #include "max6675.h"
>
> // You should get Auth Token in the Blynk App.
> // Go to the Project Settings (nut icon).
> char auth[] = "xxx";
>
> // Your WiFi credentials.
> // Set password to "" for open networks.
> char ssid[] = "xxx";
> char pass[] = "xxx";
>
> int ktcSO = 12;
> int ktcCS = 13;
> int ktcCLK = 14;
> int units = 1;
> float t =0.00;
>
> #define PIN_UPTIME V5
>
> MAX6675 ktc(ktcCLK, ktcCS, ktcSO);
>
> BLYNK_READ(V5) //Blynk app has something on V5
> {
> float DC = ktc.readCelsius();
> Blynk.virtualWrite(V5, DC ); //sending to Blynk
> }
>
> void setup()
> {
> // Debug console
> Serial.begin(9600);
>
> Blynk.begin(auth, ssid, pass);
> }
>
> void loop()
> {
> // basic readout test, just print the current temp
>
> Serial.print("C = ");
> Serial.print(ktc.readCelsius());
> Serial.print("\t F = ");
> Serial.println(ktc.readFahrenheit());
>
> delay(1000);
>
> Blynk.run();
> }