Hi, I have tried every IDE version from 1.6.1 to 1.6.7 with the new Yun library. I can turn Pins on and off with Blynk but cant read any pins using Blynk, I have confirmed that the input pins are working and reading voltage but nothing is coming through the blink app. Even a very basic attempt to read a pin with blynk on a widget shows nothing, not even “0”. I have put dozens of hours into this at this point. Can some one simply confirm that the current " BlynkSimpleYun.h" works correctly and allows the reading an displaying of pins. My app was working with blynk about 6 months and now it is no longer working. I have tried the simple Yun Wifi example included with the Blynk library and same issue, I can turn pins on and off with the switch widget but cant read them from the blink app when I add a value displ widget. Thank you,
Please add details:
- OS
- Smartphone model
- sketch you are using
Windows 10
Andriod 6.0.1
Tried both a Samsung galaxy S5 and Samsung Galaxy Tab A
Tried various Sketches but lets just work with this simple example that comes with the blynk library.
Widget button can turn on/off pin 13 ( LED) but Display widgets wont show any value on Analog pins, not even showing a zero.
/**************************************************************
* Blynk is a platform with iOS and Android apps to control
* Arduino, Raspberry Pi and the likes over the Internet.
* You can easily build graphic interfaces for all your
* projects by simply dragging and dropping widgets.
*
* Downloads, docs, tutorials: http://www.blynk.cc
* Blynk community: http://community.blynk.cc
* Social networks: http://www.fb.com/blynkapp
* http://twitter.com/blynk_app
*
* Blynk library is licensed under MIT license
* This example code is in public domain.
*
**************************************************************
* This example shows how to use Arduino Yun Bridge
* to connect your project to Blynk.
* Feel free to apply it to any other example. It's simple!
*
**************************************************************/
#define BLYNK_PRINT Serial // Comment this out to disable prints and save space
#include <Bridge.h>
#include <BlynkSimpleYun.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "xxxxxxxxxxxxx";
void setup()
{
Serial.begin(9600);
Blynk.begin(auth);
// Or specify server using one of those commands:
//Blynk.begin(auth, "blynk-cloud.com", 8442);
//Blynk.begin(auth, server_ip, port);
}
void loop()
{
Blynk.run();
}
indent preformatted text by 4 spaces
What are the settings for Value Display?
Please try to use another widget, not value display. Does that help?
I have tried Gauge also. Could just be me, but I was able to make my Yun and Blynk dance and do all sorts of things 6 months ago .