Binary not received by board (MKR1010)

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 ==============================

Hello, do yourself a favour and please read How to get the best out of this forum and modify your post accordingly (including code tags and necessary documentation of your ask).

1 Like

Thanks, never been one to "Read the Flippin Manual". I hope my new attempt is better.

much better :slight_smile: thanks for doing so.


you might get better readership if the post were in the Software/IoT Cloud sub forum. Do you want to move it there?

Yes if you think it a better place thanks

OK - moved. I don't use ArduinoIoTCloud so can't help much

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.