2021-07-25, 10:31 PM
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.
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.