Context: we wrote up a Guidance/Navigation/Control script, prototyping off of the Uno. It is essentially an assemblage of sensors (MPU6050, MS5611, NEO-6M GPS, HMC5883L) that output to two servos and record telemetry to an SD card. We naturally needed more RAM and Flash Memory, while taking up less space, so we purchased the MKR Zero. Started running into problems from there...
Generally speaking, our problems seem to be interfacing with the Serial Port (see bottom for a bit more detail). However, for where we are at the moment, I've isolated a single problem that I hope to get some help to resolve. It is as follows:
I am getting the following error code:
ERROR
In file included from C:\Users\Wolfgang Repository\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.18\cores\arduino/WCharacter.h:22:0,
from C:\Users\Wolfgang Repository\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.18\cores\arduino/Arduino.h:74,
from sketch\MS5611data2serial.ino.cpp:1:
C:\Users\Wolfgang Repository\Documents\Arduino\libraries\MS5611-master/MS5611.h:36:12: error: expected unqualified-id before numeric constant
int32_t _P;
^
C:\Users\Wolfgang Repository\Documents\Arduino\libraries\MS5611-master/MS5611.h:39:13: error: expected unqualified-id before numeric constant
uint16_t _C[N_PROM_PARAMS];
^
exit status 1
Error compiling for board Arduino MKRZERO.
I've tried playing around with the library a bit, but I've made no progress. Would like to utilize this as it's done us well during prototyping. That said, I've tried other MS5611 libraries, and they just result in the board completely disconnecting (you know how it does that thing where it disconnects and reconnects, sometimes you need to select another COM## to view the Serial output? None of that, it just disconnects...). The latter seems like an odd problem, and I haven't faced it with any of our other sensors yet. That said, I am still working on isolating problems, so the only components I've truly 'cleared' are the MPU6050 and SD card reader/writer.
Context: we wrote up a Guidance/Navigation/Control script, prototyping off of the Uno. It is essentially an assemblage of sensors (MPU6050, MS5611, NEO-6M GPS, HMC5883L) that output to two servos and record telemetry to an SD card. We naturally needed more RAM and Flash Memory, while taking up less space, so we purchased the MKR Zero. Started running into problems from there...
Generally speaking, our problems seem to be interfacing with the Serial Port (see bottom for a bit more detail). However, for where we are at the moment, I've isolated a single problem that I hope to get some help to resolve. It is as follows:
I am getting the following error code:
ERROR
I've tried playing around with the library a bit, but I've made no progress. Would like to utilize this as it's done us well during prototyping. That said, I've tried other MS5611 libraries, and they just result in the board completely disconnecting (you know how it does that thing where it disconnects and reconnects, sometimes you need to select another COM## to view the Serial output? None of that, it just disconnects...). The latter seems like an odd problem, and I haven't faced it with any of our other sensors yet. That said, I am still working on isolating problems, so the only components I've truly 'cleared' are the MPU6050 and SD card reader/writer.