Of course. Thanks
#define BLYNK_PRINT Serial // Comment this out to disable prints and save space
#include SPI.h>
#include Ethernet.h>
#include BlynkSimpleEthernet.h>
#include SimpleTimer.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = “my-auth”;
SimpleTimer timer;
void setup()
{
Serial.begin(9600);
Blynk.begin(auth);
// You can also specify server.
// For more options, see Transports/Advanced/CustomEthernet example
//Blynk.begin(auth, “server.org”, 8442);
//Blynk.begin(auth, IPAddress(192,168,1,100), 8888);
// Setup function to be called each 1000 milliseconds
timer.setInterval(1000, sendUptime);
}
// This function sends Arduino’s up time every second to Virtual Pin (5).
// In the app, Widget’s reading frequency should be set to PUSH. This means
// that you define how often to send data to Blynk App.
void sendUptime()
{
// You can send any value at any time.
// Please don’t send more that 10 values per second.
Blynk.virtualWrite(5, millis()/1000);
}
void loop()
{
Blynk.run(); // Initiates Blynk
timer.run(); // Initiates SimpleTimer
}
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = “my-auth”;
SimpleTimer timer;
void setup()
{
Serial.begin(9600);
Blynk.begin(auth);
// You can also specify server.
// For more options, see Transports/Advanced/CustomEthernet example
//Blynk.begin(auth, “server.org”, 8442);
//Blynk.begin(auth, IPAddress(192,168,1,100), 8888);
// Setup function to be called each 1000 milliseconds
timer.setInterval(1000, sendUptime);
}
// This function sends Arduino’s up time every second to Virtual Pin (5).
// In the app, Widget’s reading frequency should be set to PUSH. This means
// that you define how often to send data to Blynk App.
void sendUptime()
{
// You can send any value at any time.
// Please don’t send more that 10 values per second.
Blynk.virtualWrite(5, millis()/1000);
}
void loop()
{
Blynk.run(); // Initiates Blynk
timer.run(); // Initiates SimpleTimer
}
`