OpenMarine
weathersensors - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: Pypilot (https://forum.openmarine.net/forumdisplay.php?fid=17)
+--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=18)
+--- Thread: weathersensors (/showthread.php?tid=1810)

Pages: 1 2


RE: weathersensors - seandepagnier - 2022-10-21

(2022-10-21, 12:42 PM)xiano Wrote: I had quite a hard time getting weathersensors.ino to compile...
After days of struggle, I found a solution that works for me.

All I had to do, was to change line 35 from:

Code:
extern "C" {
 #include <twi.h>
}

to:

Code:
extern "C" {
 #include "twi.h"
}

Were you using the included makefile or is this with arduino ide?


RE: weathersensors - xiano - 2022-11-04

Were you using the included makefile or is this with arduino ide?

I did not get the makefile to run on my pc since the ARDUINO_PATH is all wrong on my arch base machine. So I was using the arduino ide as the “easy” solution.

Maybe a commented out section in the code could save people some pain in a future update?