Giter Club home page Giter Club logo

Comments (8)

firedog1024 avatar firedog1024 commented on August 18, 2024 1

OK no problem, the readme is a bit dense so it's easy to miss something, it's good to here where dev's miss stuff so I can optimize the documentation and add highlighting to key areas. I'll look at the rreadme and add an emphasis on a few things so hopefully others don't miss this. Closing out the issue.

from mkr1000-iotc.

firedog1024 avatar firedog1024 commented on August 18, 2024

Can you look at what version of the Arduino IDE you are using please, also if you can let me know OS you are using that would be useful. I'm using version 1.8.8 on Windows 10 and not seeing these issues when compiling the code. I compiled the code as it is in the repo and also by adding in the const and both compiled fine.

So this is leading me to believe there may be some changes between Arduino IDE versions and I'm on a newer version. I have seen both these issues before when compiling for other boards, for example the Uno WiFi Rev2 does not like PROGMEM as it has I believe unified flash and also gives the fcvt error from the dtostrf function in util.h to do float to string conversion.

If you can provide me some more information I'll keep working the issue. Thanks!

from mkr1000-iotc.

bchall avatar bchall commented on August 18, 2024

I am using Arduino 1.8.5 on Windows 10. I start by upgrading to 1.8.8.

Thanks!

from mkr1000-iotc.

firedog1024 avatar firedog1024 commented on August 18, 2024

let me know if the newer version fixes the issue then I'll update the readme so others can avoid this pitfall :-)

from mkr1000-iotc.

bchall avatar bchall commented on August 18, 2024

User error I missed this in the log earlier.
Arduino: 1.8.8 (Windows 10), Board: "Arduino/Genuino Uno"

I changed it to Arduino/MKR1000 and it worked.

Thanks

from mkr1000-iotc.

zhaodong2013062 avatar zhaodong2013062 commented on August 18, 2024

I am getting the same 'fcvt' was not declared in this scope error. I've updated to the latest version of the IDE (1.8.9) and have verified that the board is Arduino/Genuino MKR 1000. I am not seeing the "must be const" error though.

I tried adding #include <stdlib.h> to the top of utils.h, but nothing changed.

from mkr1000-iotc.

zhaodong2013062 avatar zhaodong2013062 commented on August 18, 2024

Fixed by adding #include <avr/dtostrf.h> to the top of mkr10x0_iotc.ino and commenting out the function dtostrf in utils.h. I'll make a PR for that change as well.

from mkr1000-iotc.

mondragonsi avatar mondragonsi commented on August 18, 2024

Hi Guys, I was able to run this and resolce the mqtt failed, rc=-2 by updating the firmware and choosing actually the NINA firmware (1.2.3) (Arduino MKR Wifi 1010) if you are using the MKR 1010 like me.

from mkr1000-iotc.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.