Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got this to work with http://www.allthingstalk.com/lorawan-track-and-trace with small hack #10

Open
ngunder opened this issue Sep 27, 2017 · 4 comments

Comments

@ngunder
Copy link

ngunder commented Sep 27, 2017

Maybe it was not the intention of the software to support other boards, but I got this to work on the track and trace board:http://www.allthingstalk.com/lorawan-track-and-trace

Had to make a small change to

//_speed = speed.toDouble();
_speed = speed.toInt();

and then it works fine for me. I could not get toDouble() to compile on my Arduino 1.8.4 IDE libs, but used toInt() instead.

@SodaqMoja
Copy link
Owner

It's not the Arduino IDE version that matters, but the version of ArduinoCore-samd (and our SodaqCore-samd which is a derivative of it). In version ArduinoCore-same 1.6.7 they introduced String.toDouble.

If you're using the SODAQ ONE board then you should be using the 1.6.14 of our SodaqCore-samd boards files.

@ngunder
Copy link
Author

ngunder commented Oct 13, 2017

Ah, thanks... Arduino development is quite new for me.

@urs8000
Copy link

urs8000 commented Nov 2, 2017

SOLVED
I'm using Arduino 1.8.5 on Win10 and couldn't see the Version 1.6.14.
My latest is 1.6.11, using this link http://downloads.sodaq.net/package_sodaq_samd_index.json
sodaq

after deleating and reloading all board-links and reloading the board-index 1.6.14 is shown
and test_ublox_gps compiles without error

@afxgroup
Copy link

use _speed = speed.toFloat() instead to use toInt(). They have changed Double to Float in the latest versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants