Just a short update: I did some trouble shooting, trying the setup with an Arduino Uno (without SD card), and found that the problem might be the I2C connection: While the Galileo is only able to read 950 values from one sensor connected via I2C, and then just prints out false values, my Arduino Uno never stops reading the sensors correctly.
Does anyone have an idea what might be the problem here? Is there something wrong with combining the Wire library with the Galileo?
1 of 1 people found this helpful
Ok, so here's an update: I tracked the problem down to the Wire library, it looks like some kind of buffer is overflowing when you call the Wire.begin() function regularly. I wasn't quite able to change that, so I just made some changes in the library that I got with the temperature sensors (Adafruit MCP9808), so that I simply don't need the begin-function more than once or twice. It's not the most beautiful solution, but good enough for me... Especially if you consider my need to stop the headaches I got