This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
weathersensors
#11
(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?
Reply
#12
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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)