Blynk 2.0 and Tinyzero

Hi! I would like to use tinyzero with Blynk 2.0. However, I am having trouble compiling the libraries. It seems that the there is a library that is conflicting with Blynk latest library (it can compile ok if I use an older verison of Blynk).

• Tinyzero with wifishield
• Blynk latest 1.1.0


  This is a simple demo of sending and receiving some data.
  Be sure to check out other examples!

// Template ID, Device Name and Auth Token are provided by the Blynk.Cloud
// See the Device Info tab, or Template settings
#define BLYNK_TEMPLATE_ID           "TMPLZxDIqJSt"
#define BLYNK_DEVICE_NAME           "Quickstart Device"
#define BLYNK_AUTH_TOKEN            "lXEr_RwRJP4jn_wy7B_AF0_cIoZv2keN"

// Comment this out to disable prints and save space
#define BLYNK_PRINT SerialUSB

#include <SPI.h>
#include <WiFi.h>
#include <BlynkSimpleWifi.h>

char auth[] = BLYNK_AUTH_TOKEN;

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "AndriodAP";
char pass[] = "gaco3897";

BlynkTimer timer;

// This function is called every time the Virtual Pin 0 state changes
  // Set incoming value from pin V0 to a variable
  int value = param.asInt();

  // Update state
  Blynk.virtualWrite(V1, value);

// This function is called every time the device is connected to the Blynk.Cloud
  // Change Web Link Button message to "Congratulations!"
  Blynk.setProperty(V3, "offImageUrl", "");
  Blynk.setProperty(V3, "onImageUrl",  "");
  Blynk.setProperty(V3, "url", "");

// This function sends Arduino's uptime every second to Virtual Pin 2.
void myTimerEvent()
  // You can send any value at any time.
  // Please don't send more that 10 values per second.
  Blynk.virtualWrite(V2, millis() / 1000);

void setup()
  // Debug console

  Blynk.begin(auth, ssid, pass);
  // You can also specify server:
  //Blynk.begin(auth, ssid, pass, "", 80);
  //Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,100), 8080);

  // Setup a function to be called every second
  timer.setInterval(1000L, myTimerEvent);

void loop()
  // You can inject your own code or combine it with other sketches.
  // Check other examples on how to communicate with Blynk. Remember
  // to avoid delay() function!

In file included from c:\users\aXXXXX\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\bits\char_traits.h:39:0,
from c:\users\aXXXXX\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\string:40,
from c:\users\aXXXXX\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\stdexcept:39,
from c:\users\aXXXXX\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\array:39,
from c:\users\aXXXXX\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\tuple:39,
from c:\users\aXXXXX\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\functional:54,
from c:\Users\AXXXXX\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkTimer.h:39,
from c:\Users\AXXXXX\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkApi.h:37,
from c:\Users\AXXXXX\Documents\Arduino\libraries\Blynk\src/BlynkApiArduino.h:14,
from c:\Users\AXXXXX\Documents\Arduino\libraries\Blynk\src/Adapters/BlynkWiFiCommon.h:24,
from c:\Users\AXXXXX\Documents\Arduino\libraries\Blynk\src/BlynkSimpleWifi.h:24,
from C:\Users\AXXXXX\Documents\Arduino\tinyzero_wifi\tinyzero_wifi.ino:19:
c:\users\AXXXXX\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\bits\stl_algobase.h:243:56: error: macro “min” passed 3 arguments, but takes just 2
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
c:\users\AXXXXX\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\bits\stl_algobase.h:265:56: error: macro “max” passed 3 arguments, but takes just 2
max(const _Tp& __a, const _Tp& __b, _Compare __comp)

exit status 1

Compilation error: exit status 1


Sorry, Blynk does not support TinyZero board.

You can read Supported Boards doc


Good Day,

Would like to check if there’s anyway we can use Tiny Circuit devices to implement Blynk into our project still? Or we need to use like Arduino UNO board to connect to Blynk?

Thanks in advance!