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
#8
I'm trying to update the weathersensors.ino code to interface with an HC-12 transceiver.

I'm having the same issue - unable to find twi.h.




I tried running make from the weathersensors directory and got 
make: *** No rule to make target `/usr/share/arduino/libraries/Wire/Wire.o', needed by `weathersensors.cpp.elf'.  Stop. 


I also tried copying the twi.c code into a new tab, but got an error because my working directory already contains the twi.c code. 
Note that I only copied the weathersensors directory from the pypilot-master.
This is with a fresh Arduino install with minimal external libraries installed. Some research suggests that twi.h may be included in some external libraries? It's not in the pypilot library on github.
Any other suggestions?
Mac OS Big Sur 11.4.
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)