This is my first venture into using the MKR WIFI 1010.I'm trying to get my head around the IOT cloud.
I've created a thing and connected my MKR.
I need some help with the web editor
I have tried to write a simple program when I try to compile l get an error on the line initproperties();
I'm obviously misunderstanding something, can anyone help me out
oid 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);
// 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();
pinMode(13,OUTPUT);
}
void loop() {
ArduinoCloud.update();
// Your code here
digitalWrite(13,HIGH);
delay(1000);
digitalWrite(13,LOW);
delay(1000);
}
void onMKRWIFI1010Change() {
// Do something
}