Hi guys
I am new at this , and I am recently starting with my project, i want to do like a wearable wristband device, one of the function i want to try is read body temperature and heartbeat rate , now i want to show that data on my blink app , in simple terms, is it rigth the code below ??
#define BLYNK_PRINT Serial // Comment this out to disable prints and save space
#include <SPI.h>
#include <Ethernet.h>
#include <BlynkSimpleEthernet.h>
char auth[] = “YourAuthToken”;
float heartbeat, Bodytemp ;
void setup()
{
Serial.begin(9600);
Blynk.begin(auth);
}
BLYNK_READ(V0){
Blynk.virtualWrite(V0, heartbeat);
}
BLYNK_READ(V1){
Blynk.virtualWrite(V1,Bodytemp );
}
void loop() {
Blynk.run();
}
thnks !