I have copied a sketch form the internet & pasted it into my Arduino IDE
It can’t find BMP280 when I compile it. So I put BMP280 into my browser.
It brings up GitHub & it finds the file, I save it to my downloads directory as BMP280_driver-master.zip
I go to: Sketch-> Include file-> Add .Zip file-> BMP280_driver-master.& open it.
I compile the original file & again it, once again can’t find BMP280. What now?
Next I go back to my downloads file: BMP280_driver-master.zip & unzip it.
I find the file under BMP280_driver-master, I click on it & I get: BMP280.h, BMP280.c, & BMP280_defs.h
Great!! How do I get these into my IDE, so my program compiler finds them?
DRZupdoc:
I have copied a sketch form the internet & pasted it into my Arduino IDE
It can’t find BMP280 when I compile it. So I put BMP280 into my browser.
It brings up GitHub & it finds the file, I save it to my downloads directory as BMP280_driver-master.zip
I go to: Sketch-> Include file-> Add .Zip file-> BMP280_driver-master.& open it.
I compile the original file & again it, once again can’t find BMP280. What now?
Next I go back to my downloads file: BMP280_driver-master.zip & unzip it.
I find the file under BMP280_driver-master, I click on it & I get: BMP280.h, BMP280.c, & BMP280_defs.h
Great!! How do I get these into my IDE, so my program compiler finds them?
Look what I found when I Googled!
https://www.arduino.cc/en/Guide/Libraries
.