Loading a sketch that previously worked now getting error

Hello everyone!
I done a project with my personala account for a weather station that registers two PT100 values, everything worked properly and now I want to take this out of my personal account and upload it to an account created for the user so they can use the dashboard and everything withous using my acount.
The thing is that verifying the code in arduino editor it says everything is fine. Once I upload it to the board MKR WIFI 1010 it starts to connec and disconnect and obiously is not working. I sove that with reset, and with blink example board works perfectly. As soon as I try to reload the sketch I want i get the error again.

Now I managed to return to the IoT Cloud and verifying the sketch there I get this error message:

Start verifying
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino: In function 'void loop()':
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:37:24: error: expected ')' before ';' token
 #define RREF      430.0;
                        ^
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:76:53: note: in expansion of macro 'RREF'
   Serial.print("Air Resistance = "); Serial.println(RREF*ratioair,8);
                                                     ^~~~
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:76:58: error: invalid type argument of unary '*' (have 'float')
   Serial.print("Air Resistance = "); Serial.println(RREF*ratioair,8);
                                                          ^~~~~~~~
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:40:24: error: expected ')' before ';' token
 #define RNOMINAL  100.0;
                        ^
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:77:73: note: in expansion of macro 'RNOMINAL'
   Serial.print("Air Temperature = "); Serial.println(maxAIR.temperature(RNOMINAL, RREF));
                                                                         ^~~~~~~~
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:77:81: error: expected primary-expression before ',' token
   Serial.print("Air Temperature = "); Serial.println(maxAIR.temperature(RNOMINAL, RREF));
                                                                                 ^
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:77:87: error: expected primary-expression before ')' token
   Serial.print("Air Temperature = "); Serial.println(maxAIR.temperature(RNOMINAL, RREF));
                                                                                       ^
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:40:24: error: expected ')' before ';' token
 #define RNOMINAL  100.0;
                        ^
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:78:29: note: in expansion of macro 'RNOMINAL'
   Tair = maxAIR.temperature(RNOMINAL, RREF);
                             ^~~~~~~~
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:78:37: error: expected primary-expression before ',' token
   Tair = maxAIR.temperature(RNOMINAL, RREF);
                                     ^
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:78:43: error: expected primary-expression before ')' token
   Tair = maxAIR.temperature(RNOMINAL, RREF);
                                           ^
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:37:24: error: expected ')' before ';' token
 #define RREF      430.0;
                        ^
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:87:55: note: in expansion of macro 'RREF'
   Serial.print("Track Resistance = "); Serial.println(RREF*ratiotrack,8);
                                                       ^~~~
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:87:60: error: invalid type argument of unary '*' (have 'float')
   Serial.print("Track Resistance = "); Serial.println(RREF*ratiotrack,8);
                                                            ^~~~~~~~~~
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:40:24: error: expected ')' before ';' token
 #define RNOMINAL  100.0;
                        ^
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:88:77: note: in expansion of macro 'RNOMINAL'
   Serial.print("Track Temperature = "); Serial.println(maxTRACK.temperature(RNOMINAL, RREF));
                                                                             ^~~~~~~~
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:88:85: error: expected primary-expression before ',' token
   Serial.print("Track Temperature = "); Serial.println(maxTRACK.temperature(RNOMINAL, RREF));
                                                                                     ^
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:88:91: error: expected primary-expression before ')' token
   Serial.print("Track Temperature = "); Serial.println(maxTRACK.temperature(RNOMINAL, RREF));
                                                                                           ^
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:40:24: error: expected ')' before ';' token
 #define RNOMINAL  100.0;
                        ^
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:89:33: note: in expansion of macro 'RNOMINAL'
   Ttrack = maxTRACK.temperature(RNOMINAL, RREF);
                                 ^~~~~~~~
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:89:41: error: expected primary-expression before ',' token
   Ttrack = maxTRACK.temperature(RNOMINAL, RREF);
                                         ^
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:89:47: error: expected primary-expression before ')' token
   Ttrack = maxTRACK.temperature(RNOMINAL, RREF);
                                               ^
Multiple libraries were found for "WiFiNINA.h"
  Used: /home/builder/opt/libraries/wifinina_1_8_14
  Not used: /home/builder/opt/libraries/vega_wifinina_1_0_1
Multiple libraries were found for "ArduinoECCX08.h"
  Used: /home/builder/opt/libraries/arduinoeccx08_1_3_7
  Not used: /home/builder/opt/libraries/rak5814_atecc608a_1_0_0
Multiple libraries were found for "SPI.h"
  Used: /home/builder/.arduino15/packages/arduino/hardware/samd/1.8.13/libraries/SPI
  Not used: /home/builder/opt/libraries/eventethernet_1_0_0
Multiple libraries were found for "Adafruit_SPIDevice.h"
  Used: /home/builder/opt/libraries/adafruit_busio_1_14_3
  Not used: /home/builder/opt/libraries/vegaiot_busio_1_0_0
Error during build: exit status 1

/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino: In function 'void loop()':
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:37:24: error: expected ')' before ';' token
 #define RREF      430.0;
                        ^
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:76:53: note: in expansion of macro 'RREF'
   Serial.print("Air Resistance = "); Serial.println(RREF*ratioair,8);
                                                     ^~~~
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:76:58: error: invalid type argument of unary '*' (have 'float')
   Serial.print("Air Resistance = "); Serial.println(RREF*ratioair,8);
                                                          ^~~~~~~~
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:40:24: error: expected ')' before ';' token
 #define RNOMINAL  100.0;
                        ^
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:77:73: note: in expansion of macro 'RNOMINAL'
   Serial.print("Air Temperature = "); Serial.println(maxAIR.temperature(RNOMINAL, RREF));
                                                                         ^~~~~~~~
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:77:81: error: expected primary-expression before ',' token
   Serial.print("Air Temperature = "); Serial.println(maxAIR.temperature(RNOMINAL, RREF));
                                                                                 ^
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:77:87: error: expected primary-expression before ')' token
   Serial.print("Air Temperature = "); Serial.println(maxAIR.temperature(RNOMINAL, RREF));
                                                                                       ^
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:40:24: error: expected ')' before ';' token
 #define RNOMINAL  100.0;
                        ^
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:78:29: note: in expansion of macro 'RNOMINAL'
   Tair = maxAIR.temperature(RNOMINAL, RREF);
                             ^~~~~~~~
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:78:37: error: expected primary-expression before ',' token
   Tair = maxAIR.temperature(RNOMINAL, RREF);
                                     ^
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:78:43: error: expected primary-expression before ')' token
   Tair = maxAIR.temperature(RNOMINAL, RREF);
                                           ^
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:37:24: error: expected ')' before ';' token
 #define RREF      430.0;
                        ^
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:87:55: note: in expansion of macro 'RREF'
   Serial.print("Track Resistance = "); Serial.println(RREF*ratiotrack,8);
                                                       ^~~~
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:87:60: error: invalid type argument of unary '*' (have 'float')
   Serial.print("Track Resistance = "); Serial.println(RREF*ratiotrack,8);
                                                            ^~~~~~~~~~
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:40:24: error: expected ')' before ';' token
 #define RNOMINAL  100.0;
                        ^
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:88:77: note: in expansion of macro 'RNOMINAL'
   Serial.print("Track Temperature = "); Serial.println(maxTRACK.temperature(RNOMINAL, RREF));
                                                                             ^~~~~~~~
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:88:85: error: expected primary-expression before ',' token
   Serial.print("Track Temperature = "); Serial.println(maxTRACK.temperature(RNOMINAL, RREF));
                                                                                     ^
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:88:91: error: expected primary-expression before ')' token
   Serial.print("Track Temperature = "); Serial.println(maxTRACK.temperature(RNOMINAL, RREF));
                                                                                           ^
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:40:24: error: expected ')' before ';' token
 #define RNOMINAL  100.0;
                        ^
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:89:33: note: in expansion of macro 'RNOMINAL'
   Ttrack = maxTRACK.temperature(RNOMINAL, RREF);
                                 ^~~~~~~~
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:89:41: error: expected primary-expression before ',' token
   Ttrack = maxTRACK.temperature(RNOMINAL, RREF);
                                         ^
/tmp/4197161203/Weather_sep05a/Weather_sep05a.ino:89:47: error: expected primary-expression before ')' token
   Ttrack = maxTRACK.temperature(RNOMINAL, RREF);
                                               ^
Multiple libraries were found for "WiFiNINA.h"
  Used: /home/builder/opt/libraries/wifinina_1_8_14
  Not used: /home/builder/opt/libraries/vega_wifinina_1_0_1
Multiple libraries were found for "ArduinoECCX08.h"
  Used: /home/builder/opt/libraries/arduinoeccx08_1_3_7
  Not used: /home/builder/opt/libraries/rak5814_atecc608a_1_0_0
Multiple libraries were found for "SPI.h"
  Used: /home/builder/.arduino15/packages/arduino/hardware/samd/1.8.13/libraries/SPI
  Not used: /home/builder/opt/libraries/eventethernet_1_0_0
Multiple libraries were found for "Adafruit_SPIDevice.h"
  Used: /home/builder/opt/libraries/adafruit_busio_1_14_3
  Not used: /home/builder/opt/libraries/vegaiot_busio_1_0_0
Error during build: exit status 1

Any help will be welcome

Here the code:

// Arduino Low Power - Version: Latest 
#include <ArduinoLowPower.h>

// Adafruit MAX31865 library - Version: Latest 
#include <Adafruit_MAX31865.h>

/* 
  Sketch generated by the Arduino IoT Cloud Thing "Weather"
  https://create.arduino.cc/cloud/things/2c55b4ac-3ee9-47e6-aee5-d4b3db503b52 

  Arduino IoT Cloud Variables description

  The following variables are automatically generated and updated when changes are made to the Thing

  float Tair;
  float Ttrack;

  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"

// Tair sensor software SPI: CS, DI, DO, CLK
Adafruit_MAX31865 maxAIR = Adafruit_MAX31865(9, 11, 12, 13);
// use hardware SPI, just pass in the CS pin
//Adafruit_MAX31865 thermo = Adafruit_MAX31865(10);

// Ttrack sensor software SPI: CS, DI, DO, CLK
Adafruit_MAX31865 maxTRACK = Adafruit_MAX31865(10, 11, 12, 13);
// use hardware SPI, just pass in the CS pin
//Adafruit_MAX31865 thermo = Adafruit_MAX31865(9);

// The value of the Rref resistor. Use 430.0 for PT100 and 4300.0 for PT1000
#define RREF      430.0
// The 'nominal' 0-degrees-C resistance of the sensor
// 100.0 for PT100, 1000.0 for PT1000
#define RNOMINAL  100.0

unsigned long previousMillis = 0;
const long interval = 1000; //milliseconds

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); 

  // 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 
  uint16_t rtdair = maxAIR.readRTD();
  Serial.print("Air RTD value: "); Serial.println(rtdair);
  float ratioair = rtdair;
  ratioair /= 32768;
  Serial.print("Air Ratio a = "); Serial.println(ratioair,8);
  Serial.print("Air Resistance = "); Serial.println(RREF*ratioair,8);
  Serial.print("Air Temperature = "); Serial.println(maxAIR.temperature(RNOMINAL, RREF));
  Tair = maxAIR.temperature(RNOMINAL, RREF);
  Serial.print(Tair);
  Serial.print(""); 

  uint16_t rtdtrack = maxTRACK.readRTD();
  Serial.print("Track RTD value: "); Serial.println(rtdtrack);
  float ratiotrack = rtdtrack;
  ratiotrack /= 32768;
  Serial.print("Track Ratio a = "); Serial.println(ratiotrack,8);
  Serial.print("Track Resistance = "); Serial.println(RREF*ratiotrack,8);
  Serial.print("Track Temperature = "); Serial.println(maxTRACK.temperature(RNOMINAL, RREF));
  Ttrack = maxTRACK.temperature(RNOMINAL, RREF);
  Serial.print(Ttrack);
  Serial.print("");
  
  
  // Check and print any faults
  
  uint8_t faultair = maxAIR.readFault();
  if (faultair) {
    Serial.print("AIR max31865 Fault 0x"); Serial.println(faultair, HEX);
    if (faultair & MAX31865_FAULT_HIGHTHRESH) {
      Serial.println("AIR max31865 RTD High Threshold"); 
    }

   if (faultair & MAX31865_FAULT_LOWTHRESH) {
      Serial.println("AIR max31865RTD Low Threshold"); 
    }
    if (faultair & MAX31865_FAULT_REFINLOW) {
      Serial.println("AIR max31865 REFIN- > 0.85 x Bias"); 
    }
    if (faultair & MAX31865_FAULT_REFINHIGH) {
      Serial.println("AIR max31865 REFIN- < 0.85 x Bias - FORCE- open"); 
    }
    if (faultair & MAX31865_FAULT_RTDINLOW) {
      Serial.println("AIR max31865 RTDIN- < 0.85 x Bias - FORCE- open"); 
    }
    if (faultair & MAX31865_FAULT_OVUV) {
      Serial.println("AIR max31865 Under/Over voltage"); 
    }
    maxAIR.clearFault();
  }
  Serial.println();

uint8_t faulttrack = maxTRACK.readFault();
  if (faulttrack) {
    Serial.print("TRACK max31865 Fault 0x"); Serial.println(faulttrack, HEX);
    if (faulttrack & MAX31865_FAULT_HIGHTHRESH) {
      Serial.println("TRACK max31865 RTD High Threshold"); 
    }
    if (faulttrack & MAX31865_FAULT_LOWTHRESH) {
      Serial.println("TRACK max31865 RTD Low Threshold"); 
    }
    if (faulttrack & MAX31865_FAULT_REFINLOW) {
      Serial.println("TRACK max31865 REFIN- > 0.85 x Bias"); 
    }
    if (faulttrack & MAX31865_FAULT_REFINHIGH) {
      Serial.println("TRACK max31865 REFIN- < 0.85 x Bias - FORCE- open"); 
    }
    if (faulttrack & MAX31865_FAULT_RTDINLOW) {
      Serial.println("TRACK max31865 RTDIN- < 0.85 x Bias - FORCE- open"); 
    }
    if (faulttrack & MAX31865_FAULT_OVUV) {
      Serial.println("TRACK max31865 Under/Over voltage"); 
    }
    maxTRACK.clearFault();
  }
  Serial.println();

 unsigned long currentMillis = millis();
  
  if (currentMillis - previousMillis >= interval) {
    previousMillis = currentMillis;

    //code here will update every 1 second
    //without blocking the program and the cloud update
  }
  
  LowPower.sleep(550000);


}

Just based on the first error, #define should not have a semicolon at the end.

1 Like

Yes, forget about it, I just changed to see if it could be that. I have it without ;
Now the stech is okay no error. But again, once I upload it, the board starts to connect and disconect form the port

Uploading succed

Welcome to the forum

#define RREF 430.0;

That semicolon should not be there

Yes again, is a trial I made, is not there in fact. So yep solved it's without ; Again when I upload it to the board it starts to connect and disconnect from the port

and you also fixed

You understand why these are wrong?

hi
you said " you tried the code and check for errors in IDE , looks ok , "
once you upload the code to the borad it is showing those errors , if this is the case , the cross compiling to the board doesn't work properly , this is due to - and not limited to - some factors : the board is not adequate , the board is not up to date , the board is having trouble .....but mainly the problem is with the board....
nice day

Yes I do, and yes both define are now without ; No error message now, but board is in crazy mode

With my personal acount board and code worked perfetcly. Now copying everything to this account it started to do this weird thing.

That I can't help you with.

I've moved your topic to the dedicated MKR1010 section of the forum.

In future, please poste your compiler output using code tags. So we don't have to scroll that much on the forum.

Okey, yes sorry about that, was the hurry of the moment.

Hi @meteof4

It is expected that this line of your sketch will cause the board to no longer produce a port:

The program running on the microcontroller of the MKR WiFi 1010 board produces the port, so when you put the microcontroller to sleep and thus stop that program from running it can no longer produce the port.

@ptillisch Hi, then in order to save battery as this will go outside to check weather, how should I integrate this?
Thanks!

As far as the port is concerned, I guess you already learned it, but just in case it will be useful to someone I'll mention that you can put the board into a state where it can be uploaded to once more by pressing and releasing the button marked "RST" on the board twice quickly. You will then see the onboard LED pulsing to indicate the bootloader has been activated and it will be possible to upload sketches to the board.

As for specific considerations regarding putting the Arduino IoT Cloud devices to sleep, you might find the related discussion here interesting

Hi again,
And thanks everyone who tried to help.
All in all everything works fine. And no errors uploading happen.
Now the issue is that running the code with another user acount the readings of the sensors are wrong. I solved the problem momentanously deleting the libraries included and reincluding them, but once more, after changing the network the arduino has to use, is again giving wrong values.
I see it more as a probelm with arduino IoT than with the board itself.

As you already guessed, this might be caused by a difference between the two Arduino Cloud accounts in which library dependencies are being used when compiling the sketch.

I'm going to ask you to post the full output from a compilation using each of the accounts. We might be able to identify a relevant difference in the dependencies used during each of the compilations.


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


Please do this:

  1. Log into the Arduino Cloud account that produces correct sensor readings.
  2. Open the sketch in Arduino Cloud.
  3. Click the ("Verify") button in the sketch panel.
  4. Wait for the compilation to finish.
  5. Click the icon in the top right corner of the black console window at the bottom of the Arduino Cloud editor window that looks like two pieces of paper:
    image
  6. In a forum reply here, click on the reply field.
  7. Click the <CODE/> button on the forum toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the compilation output is correctly formatted.
    codetags
  8. Press the Ctrl+V keyboard shortcut.
    This will paste the compilation output between the code tags.
  9. Log into the Arduino Cloud account that produces incorrect sensor readings.
  10. Open the exact same sketch as before in Arduino Cloud.
  11. Click the ("Verify") button in the sketch panel.
  12. Wait for the compilation to finish.
  13. Click the icon in the top right corner of the black console window at the bottom of the Arduino Cloud editor window that looks like two pieces of paper:
    image
  14. In the forum reply here, click on the reply field.
  15. Click the <CODE/> button on the forum toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the compilation output is correctly formatted.
    codetags
  16. Press the Ctrl+V keyboard shortcut.
    This will paste the compilation output between the code tags.
  17. Move the cursor outside of the code tags before you add any additional text to your reply.
  18. Click the "Reply" button to post the output.

In case the output is longer than the forum software will allow to be added to a post, you can instead save it to a .txt file and then attach that file to a reply here:

  1. Open any text editor program.
  2. Paste the copied output into the text editor.
  3. Save the file in .txt format.
  4. Open a forum reply here by clicking the "Reply" button.
  5. Click the "Upload" icon (image) on the post composer toolbar:
    Upload icon on toolbar
    A dialog will open.
  6. In the dialog, select the .txt file you saved.
  7. Click the "Open" button.
  8. Click the "Reply" button to publish the post.

Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the .txt file onto the post composer field to attach it.

Hello again and thanks for your help.

First code the one with my personal account:

/usr/local/bin/arduino-cli compile --fqbn arduino:samd:mkrwifi1010 --build-cache-path /tmp --output-dir /tmp/1453232654/build --build-path /tmp/arduino-build-35B31164B77FCAB02CC110195C407DA0 --library /mnt/create-efs/webide/f0/c9/f0c9f935a13f150dc180024dbec12bc6:piouel98/libraries_v2/Adafruit BusIO --library /mnt/create-efs/webide/f0/c9/f0c9f935a13f150dc180024dbec12bc6:piouel98/libraries_v2/Adafruit MAX31865 library --library /mnt/create-efs/webide/f0/c9/f0c9f935a13f150dc180024dbec12bc6:piouel98/libraries_v2/WiFiNINA /tmp/1453232654/Temp_jul03a

Sketch uses 104456 bytes (39%) of program storage space. Maximum is 262144 bytes.

Global variables use 6160 bytes (18%) of dynamic memory, leaving 26608 bytes for local variables. Maximum is 32768 bytes.

Results I get:

Air RTD value: 8392
Air Ratio a = 0.25610352
Air Resistance = 110.12451172
Air Temperature = 25.97
26.04Track RTD value: 8369
Track Ratio a = 0.25540161
Track Resistance = 109.82269287
Track Temperature = 25.23
25.23

Air RTD value: 8391
Air Ratio a = 0.25607300
Air Resistance = 110.11138916
Air Temperature = 26.01
25.97Track RTD value: 8369
Track Ratio a = 0.25540161
Track Resistance = 109.82269287
Track Temperature = 25.23
25.26

Code account not working properly:

/usr/local/bin/arduino-cli compile --fqbn arduino:samd:mkrwifi1010 --build-cache-path /tmp --output-dir /tmp/1990611087/build --build-path /tmp/arduino-build-E0ABAA6CF81445A3391566B1BD7DEB49 --library /home/builder/opt/libraries/rtczero_1_6_0 /tmp/1990611087/Weather_sep05a

Sketch uses 103976 bytes (39%) of program storage space. Maximum is 262144 bytes.

Global variables use 6012 bytes (18%) of dynamic memory, leaving 26756 bytes for local variables. Maximum is 32768 bytes.

Results get:

Air RTD value: 32767
Air Ratio a = 0.99996948
Air Resistance = 429.98687744
Air Temperature = 988.79
988.79Track RTD value: 32767
Track Ratio a = 0.99996948
Track Resistance = 429.98687744
Track Temperature = 988.79
988.79AIR max31865 Fault 0xFF
AIR max31865 RTD High Threshold
AIR max31865RTD Low Threshold
AIR max31865 REFIN- > 0.85 x Bias
AIR max31865 REFIN- < 0.85 x Bias - FORCE- open
AIR max31865 RTDIN- < 0.85 x Bias - FORCE- open
AIR max31865 Under/Over voltage

TRACK max31865 Fault 0xFF
TRACK max31865 RTD High Threshold
TRACK max31865 RTD Low Threshold
TRACK max31865 REFIN- > 0.85 x Bias
TRACK max31865 REFIN- < 0.85 x Bias - FORCE- open
TRACK max31865 RTDIN- < 0.85 x Bias - FORCE- open
TRACK max31865 Under/Over voltage

Now what I see is that RTC Zero despite in second account says version 1.6 it's the same, but now looking for the RTC Zero library is no longer available on the library manager.
Also as you can see, for the second account arduino low power library was eliminated in order to get out a possible cause.

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