BLYNK
BLYNK.IO       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

Arduino not uploading sketch

OK, I am a novice so was trying to keep it simple. I will have to read up on how to do that unless you have an explanation handy ?

You can try a simple sketch to test your device.

Here’s one I prepared earlier…

Pete.

Hi John,
That is what i did using the examples in the Arduino.
I got the Arduino to work using the PC, the next was using Blynk and again used the examples to achieve that. the Blynk app sees the Arduino but I cannot control the outputs selected.

Your using blynk legacy right ?

Blynk Version 2.27.30

Okay are you sure you’re using the right auth token ?

Yes Sir, I refreshed that in one of my attempts …

If the auth token is right, then I guess you’re not choosing the right board.

Let’s move step by step.

Board: “Arduino Uno WiFi Rev2, ATMEGA328” right ?

Yes Sir,

I would like you to try something, go to boards then Arduino AVR boards and choose Arduino uno wifi.

Can you send me a screenshot to your Arduino ide ?
Like this :

Hi John,


This hat you need ?

You may want this ?

Did you try the avr boards arduino uno wifi ?

To tel the truth I cannot remember - I have not been adventurous in the fear of bending something !

Okay buddy. Let’s start from the beginning step by step.

First the app section, go and update the app to the latest version which is 2.27.32

Second the wiring section, make sure the led is not damaged and connected the right way positive to pin and negative to ground.

Third the Arduino ide section, choose Arduino uno wifi rev2 and use this example :

/*************************************************************
  Download latest Blynk library here:
    https://github.com/blynkkk/blynk-library/releases/latest
  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
    Sketch generator:           http://examples.blynk.cc
    Blynk community:            http://community.blynk.cc
    Follow us:                  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 MKR 1010
  to connect your project to Blynk.
  Note: This requires WiFiNINA library
    from http://librarymanager/all#WiFiNINA
  Feel free to apply it to any other example. It's simple!
 *************************************************************/

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

/* Fill-in your Template ID (only if using Blynk.Cloud) */
//#define BLYNK_TEMPLATE_ID   "YourTemplateID"


#include <SPI.h>
#include <WiFiNINA.h>
#include <BlynkSimpleWiFiNINA.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "YourAuthToken";

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

void setup()
{
  // Debug console
  Serial.begin(9600);

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

void loop()
{
  Blynk.run();
}

Hi John,
App updated and LED is good. The second LED is on pin 13 which is the LED on the board.
The only difference I see is:
#include <SPI.h>
in your code.

I loaded the SPI file from the library, uploaded the sketch and now have an error.

Arduino: 1.8.13 (Windows 10), Board: "Arduino Uno"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Billy P\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Billy P\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Billy P\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=03EB_2145 -ide-version=10813 -build-path C:\Users\BILLYP~1\AppData\Local\Temp\arduino_build_445776 -warnings=none -build-cache C:\Users\BILLYP~1\AppData\Local\Temp\arduino_cache_216977 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Billy P\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\Billy P\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avrdude.path=C:\Users\Billy P\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\Billy P\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Billy P\Documents\Arduino\Arduino_org_UNO_WiFi_Take_2\Arduino_org_UNO_WiFi_Take_2.ino

C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Billy P\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Billy P\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Billy P\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=03EB_2145 -ide-version=10813 -build-path C:\Users\BILLYP~1\AppData\Local\Temp\arduino_build_445776 -warnings=none -build-cache C:\Users\BILLYP~1\AppData\Local\Temp\arduino_cache_216977 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Billy P\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\Billy P\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avrdude.path=C:\Users\Billy P\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\Billy P\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Billy P\Documents\Arduino\Arduino_org_UNO_WiFi_Take_2\Arduino_org_UNO_WiFi_Take_2.ino

Using board 'uno' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr

Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr

Detecting libraries used...

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "C:\\Users\\BILLYP~1\\AppData\\Local\\Temp\\arduino_build_445776\\sketch\\Arduino_org_UNO_WiFi_Take_2.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for WiFiNINA.h: [WiFiNINA@1.8.13]

ResolveLibrary(WiFiNINA.h)

  -> candidates: [WiFiNINA@1.8.13]

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "C:\\Users\\BILLYP~1\\AppData\\Local\\Temp\\arduino_build_445776\\sketch\\Arduino_org_UNO_WiFi_Take_2.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for BlynkSimpleWiFiNINA.h: [Blynk@0.6.1]

ResolveLibrary(BlynkSimpleWiFiNINA.h)

  -> candidates: [Blynk@0.6.1]

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\Blynk\\src" "C:\\Users\\BILLYP~1\\AppData\\Local\\Temp\\arduino_build_445776\\sketch\\Arduino_org_UNO_WiFi_Take_2.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\Blynk\\src" "C:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src\\WiFi.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\Blynk\\src" "C:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src\\WiFiClient.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\Blynk\\src" "C:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src\\WiFiSSLClient.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\Blynk\\src" "C:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src\\WiFiServer.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\Blynk\\src" "C:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src\\WiFiStorage.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\Blynk\\src" "C:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src\\WiFiUdp.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\Blynk\\src" "C:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src\\utility\\WiFiSocketBuffer.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\Blynk\\src" "C:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src\\utility\\nano_rp2040_support.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\Blynk\\src" "C:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src\\utility\\server_drv.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\Blynk\\src" "C:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src\\utility\\spi_drv.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for SPI.h: [SPI@1.0]

ResolveLibrary(SPI.h)

  -> candidates: [SPI@1.0]

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\Blynk\\src" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src\\utility\\spi_drv.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\Blynk\\src" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src\\utility\\wifi_drv.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\Blynk\\src" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\Billy P\\Documents\\Arduino\\libraries\\Blynk\\src\\utility\\BlynkDebug.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\Blynk\\src" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\Billy P\\Documents\\Arduino\\libraries\\Blynk\\src\\utility\\BlynkHandlers.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\Blynk\\src" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\Billy P\\Documents\\Arduino\\libraries\\Blynk\\src\\utility\\BlynkTimer.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\Blynk\\src" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\Billy P\\Documents\\Arduino\\libraries\\Blynk\\src\\utility\\utility.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\Blynk\\src" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src\\SPI.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Generating function prototypes...

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\Blynk\\src" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\BILLYP~1\\AppData\\Local\\Temp\\arduino_build_445776\\sketch\\Arduino_org_UNO_WiFi_Take_2.ino.cpp" -o "C:\\Users\\BILLYP~1\\AppData\\Local\\Temp\\arduino_build_445776\\preproc\\ctags_target_for_gcc_minus_e.cpp" -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\BILLYP~1\\AppData\\Local\\Temp\\arduino_build_445776\\preproc\\ctags_target_for_gcc_minus_e.cpp"

Compiling sketch...

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\Billy P\\Documents\\Arduino\\libraries\\Blynk\\src" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\BILLYP~1\\AppData\\Local\\Temp\\arduino_build_445776\\sketch\\Arduino_org_UNO_WiFi_Take_2.ino.cpp" -o "C:\\Users\\BILLYP~1\\AppData\\Local\\Temp\\arduino_build_445776\\sketch\\Arduino_org_UNO_WiFi_Take_2.ino.cpp.o"

In file included from C:\Users\Billy P\Documents\Arduino\libraries\WiFiNINA\src/WiFiStorage.h:23:0,

                 from C:\Users\Billy P\Documents\Arduino\libraries\WiFiNINA\src/WiFi.h:38,

                 from C:\Users\Billy P\Documents\Arduino\libraries\WiFiNINA\src/WiFiNINA.h:23,

                 from C:\Users\Billy P\Documents\Arduino\Arduino_org_UNO_WiFi_Take_2\Arduino_org_UNO_WiFi_Take_2.ino:38:

C:\Users\Billy P\Documents\Arduino\libraries\WiFiNINA\src/utility/wifi_drv.h:293:12: error: 'PinStatus' does not name a type

     static PinStatus digitalRead(uint8_t pin);

            ^~~~~~~~~

Using library WiFiNINA at version 1.8.13 in folder: C:\Users\Billy P\Documents\Arduino\libraries\WiFiNINA 

Using library Blynk at version 0.6.1 in folder: C:\Users\Billy P\Documents\Arduino\libraries\Blynk 

Using library SPI at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI 

exit status 1

Error compiling for board Arduino Uno.

What have I broken !

You are using arduino uno with wifi libraries that’s the error