Hi i'm trying to send sketches over-the-air to my Nano rp2040 and the error menssage that I receive is this one
"binary received uncorrectly by board: SHA256 mismatch"
Is this a problem with the firmware or something else?
thanks in advance
/*
Sketch generated by the Arduino IoT Cloud Thing "Garden"
https://create.arduino.cc/cloud/things/eb6aca1f-fdef-47c0-8cb0-a260241d5a2d
Arduino IoT Cloud Variables description
The following variables are automatically generated and updated when changes are made to the Thing
float temperature;
float humidity;
bool relay;
Variables which are marked as READ/WRITE in the Cloud Thing will also have functions
which are called when their values are changed from the Dashboard.
These functions are generated with the Thing and added at the end of this sketch.
*/
#include "thingProperties.h"
#include "DHT.h"
#include "Wire.h"
#define DHTPIN 4
#define DHTTYPE DHT11
DHT dht(DHTPIN, DHTTYPE);
void setup() {
// Initialize serial and wait for port to open:
Serial.begin(9600);
Wire.begin();
dht.begin();
pinMode(2, OUTPUT);
// This delay gives the chance to wait for a Serial Monitor without blocking if none is found
delay(1500);
// Defined in thingProperties.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
float temp_hum_val[2] = {0};
temperature = dht.readTemperature();
humidity = dht.readHumidity();
delay(1000);
}
void onRelayChange() {
// Do something
if (relay) {
digitalWrite(2, HIGH);
} else {
digitalWrite(2, LOW);
}
}