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
#1
I'm trying to build the weather sensor in the "arduino" section. Being fairly green at compiling code I can't resolve a complie error in the IDE.
Running the compiler I get "~\arduino\weathersensors\weathersensors.ino:34:19: fatal error: twi.h: No such file or directory

   #include <twi.h>"



I'm sure it's the line 33
"extern "C" {

  #include <twi.h>
}"

Snooping through othere files I saw a comment that the built-in twi.h in the arduino wire library doesn't do a required pull-up needed.
That's where the greenneess takes over. Where is it lookng for this file and how do I go about installing all the dependancies required? I ran the makefile (another foggy area) but that didn't resolve the issue. 


Thanks for any help.
DanO
There are 10 types of people, those that understand binary and those that don't!
Reply


Messages In This Thread
weathersensors - by svBlueMoon - 2019-05-19, 01:21 PM
RE: weathersensors - by seandepagnier - 2019-05-19, 01:46 PM
RE: weathersensors - by abarrow - 2019-05-19, 02:10 PM
RE: weathersensors - by jim321 - 2019-05-19, 02:17 PM
RE: weathersensors - by svBlueMoon - 2019-05-22, 02:16 PM
RE: weathersensors - by seandepagnier - 2019-05-28, 12:02 AM
RE: weathersensors - by svBlueMoon - 2019-06-05, 09:24 PM
RE: weathersensors - by conifer - 2021-07-25, 10:31 PM
RE: weathersensors - by seandepagnier - 2021-07-26, 04:28 AM
RE: weathersensors - by xiano - 2022-10-21, 12:42 PM
RE: weathersensors - by seandepagnier - 2022-10-21, 07:40 PM
RE: weathersensors - by xiano - 2022-11-04, 12:48 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)