Sorry my man, I decided to stick with you. I have good news. I managed to find the missing headers and the device is connected to Blynk. However, developing the phone app dashboard failed. There have been changes made on the app after the documentation was completed that jumbles things up. Also, the various plans structure placed two widgets out of reach for the quicky startup. Switch and Chart requires an upgrade. PushButton was substituted for switch. And label doesn’t exit at all. Also, the instruction flow and the screen shots in the documentation was difficult to follow. English may not be the tech writers forte and the community criticized terminology used by Blynk in the past is still in full force. So, I shall chase this another day. I would like to post my experience in dealing with the initial device registration process below. Maybe someone will find it useful.
fresh installation of Arduino IDE
Fire-up Arduino IDE
Set comm port and board SAMD MKR1000
installed blynk-library-master.zip
File > Exmples> Blynk> BlynkEdgent> Edgent_MRK1000
Copy Template ID and Device name from Dashboard Template and verify sketch.
WIFI101.h missing
installed Arduino-master.zip
WIFI101.h missing
Windows 10 search for WIFI101.h
failed
Restart Arduino IDE and verify.
Still missing file
Search Manage Libraries for WIFI101.h
Selected WIFI101 Library
restart Arduino.ide
Solved.
However, FlashStorage.h missing
Search Manage Libraries for flashstorage.h
Selected Blynk ESP8266AT_WM
dependencies installed including SlashStorage_STMd/32
restart Arduino.ide
flashstorage.h still missing.
search directory Doc/Arduino/library for file.
flashstorage.h does not exist/other variations do.
Search github for flashstorage.h.
3 disqualified results with no direct hits.
Search internet “flashstorage.h arduino missing header file”
various disqualified results
Search internet “flashstorage.h arduino download”
qualified hit on Arduino.cc / flashstorage 1.0.0.zip
solved
Timer5.h missing
Timer5.h missing
internet search for “Timer5 download”
Timer5-master.zip downloaded
solved
ArduinoOTA.h missing
Assume MRK1000 OTA not available
nevertheless… search “arduino.cc:arduinoota.h”
downloaded arduinoOTA-1.0.6.zip
solved
During verification following warnings observed
In file included from C:\Users\fred2\Desktop\blynk MKR1000\Edgent_MKR1000\BlynkEdgent.h:14:0,
from C:\Users\fred2\Desktop\blynk MKR1000\Edgent_MKR1000\Edgent_MKR1000.ino:13:
C:\Users\fred2\Documents\Arduino\libraries\blynk-library-master\src/Blynk.h:15:2: warning: #warning “Please include a board-specific header file, instead of Blynk.h (see examples)” [-Wcpp]
#warning “Please include a board-specific header file, instead of Blynk.h (see examples)”
^~~~~~~
In file included from C:\Users\fred2\Desktop\blynk MKR1000\Edgent_MKR1000\BlynkEdgent.h:39:0,
from C:\Users\fred2\Desktop\blynk MKR1000\Edgent_MKR1000\Edgent_MKR1000.ino:13:
C:\Users\fred2\Desktop\blynk MKR1000\Edgent_MKR1000\Console.h: In lambda function:
C:\Users\fred2\Desktop\blynk MKR1000\Edgent_MKR1000\Console.h:30:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
);
^
C:\Users\fred2\Desktop\blynk MKR1000\Edgent_MKR1000\Console.h: In lambda function:
C:\Users\fred2\Desktop\blynk MKR1000\Edgent_MKR1000\Console.h:45:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
);
Compiling done.
Sketch uses 72780 bytes (27%) of program storage space. Maximum is 262144 bytes.
Global variables use 9872 bytes (30%) of dynamic memory, leaving 22896 bytes for local variables. Maximum is 32768 bytes.
Uploaded.
Monitor does not reboot the device when fired-up. Used line commands to verify connection to Blynk.
help
Available commands: help, ?, reboot, config, devinfo, netinfo
config
{“status”:“OK”,“msg”:“entering configuration mode”}
exit
Command not found.
help
Available commands: help, ?, reboot, config, devinfo, netinfo
devinfo
{“board”:“Basic Control”,“tmpl_id”:“TMPLWdn6wInD”,“fw_type”:“TMPLWdn6wInD”,“fw_ver”:“0.1.0”}
netinfo
{“ssid”:“Blynk Basic Control-4D5DF”,“bssid”:“f8:f0:05:f5:f5:e1”,“rssi”:-100}
Open iPhone New Blynk App and added device.
This is the device response on Arduino monitor. Sensitive info x’d out.
Device connected to AP
[1148525] Sending board info…
[1148634] Sending networks…
[1171470] Applying configuration…
[1171474] WiFi SSID: Lab Pass: 303XXXXXX
[1171478] Blynk cloud: wj-KIFuJ7NGEGz3qWe9Cn1SZyp7Qlk4k @ blynk.cloud:443
[1171483] WAIT_CONFIG => SWITCH_TO_STA
[1171493] Switching to STA…
[1172495] SWITCH_TO_STA => CONNECTING_NET
[1172500] Connecting to WiFi: XXX
[1173917] Using Dynamic IP: 192.168.0.112
[1173928] CONNECTING_NET => CONNECTING_CLOUD
[1173942] Connecting to blynk.cloud:443
[1181959] Ready (ping: 2891ms).
[1182026] CONNECTING_CLOUD => RUNNING
[1182031] Configuration stored to flash
At this point the Blynk dashboard shows the new device.