Blynk library 0.6.1
Android
Arduino
Previously I tried to successfully connect it even can be controlled from Android to Arduino.
Before the last error I did was Arduino using the battery, when I re-uploaded via the laptop something happened.
Then I tried removing blynk.begin, it succeeded to run the program.
scheme:
I use Bluetooth connected to a laptop, then use a virtual serial port, run local server and client to connect COM from Bluetooth to local server. Controlled by Android from WiFi.
I use the scheme to fulfill my college assignments. thanks.
#include <BlynkSimpleStream.h>
char auth[] = "W9KxUhtSLkGGAyxYmiDImNjGC0DKiKmF";
void setup()
{
Serial.begin(9600);
Blynk.begin(auth, Serial);
pinMode(13, OUTPUT);
}
void loop()
{
Blynk.run();
digitalWrite(13, HIGH);
delay(3000);
digitalWrite(13, LOW);
delay(3000);
}