Hello, newbie so forgive if I get this format all wrong: Appreciate any thoughts
The code verifies and saves
At top of screen I see that [Tracee - Arduino MKR WiFi 1010 Over-the-Air] is a valid link
System messages to say connected
However upload and save results in error [Binary not received by the board: board not found]
I have a Arduino MKR1010
I have created an account and developed this sketch in create.arduino.cc
The sketch has files: .ino, readme, thingProperties.h, Secret, vars.h
// =============================
// in thingsProperties
#include <ArduinoIoTCloud.h>
#include <Arduino_ConnectionHandler.h>
#include "vars.h"
// =============================
// in vars.h
#define IOPIN06 6
const int LED06 = IOPIN06;
// =============================
//SKETCH.....
#include "thingProperties.h"
void setup() {
// Initialize serial and wait for port to open:
Serial.begin(9600);
// This delay gives the chance to wait for a Serial Monitor without blocking if none is found
delay(1500);
// initialize digital pin LED_BUILTIN as an output.
pinMode(IOPIN06, OUTPUT); // Defined in vars.h
initProperties();
// Connect to Arduino IoT Cloud
ArduinoCloud.begin(ArduinoIoTPreferredConnection);
/*
The following function allows you to obtain more information
related to the state of network and IoT Cloud connection and errors
the higher number the more granular information you’ll get.
The default is 0 (only errors).
Maximum is 4
*/
setDebugMessageLevel(2);
ArduinoCloud.printDebugInfo();
}
void loop() {
ArduinoCloud.update();
// Your code here
digitalWrite(IOPIN06, HIGH); // turn the LED on (HIGH is the voltage level)
Serial.print("ON");
delay(500); // wait for a second
digitalWrite(IOPIN06, LOW); // turn the LED off by making the voltage LOW
Serial.print("OFF");
delay(500); // wait for a second
}
// =============================== End of code ==============================