Jun 9, 2016 Replies: 14 Example: https://www.b4x.com/android/forum/threads/wrapping-library-for-bmp180-sensor.67647/#post-429006 Based on this open source project: https://github.com/sparkfun/BMP180_Breakout The connections are described in the above link. Note that you need to connect it to 3.3v. Network example: https://www.b4x.com/android/forum/threads/esp8266-udp-bmp180-simple-weather-station.70243/ Attachments rSFE_BMP180.zip rSFE_BMP180.zip 6.6 KB · Views: 1,606 Last edited: Aug 22, 2016 Click to expand...
Example: https://www.b4x.com/android/forum/threads/wrapping-library-for-bmp180-sensor.67647/#post-429006 Based on this open source project: https://github.com/sparkfun/BMP180_Breakout The connections are described in the above link. Note that you need to connect it to 3.3v. Network example: https://www.b4x.com/android/forum/threads/esp8266-udp-bmp180-simple-weather-station.70243/
W william235 Member Aug 21, 2016 #2 I cannot get this to run. I am new to B4R but not to programming. How do I add this library? I get a missing reference error related to the library. This is my first time using the product. Any help would be greatly appreciated.
I cannot get this to run. I am new to B4R but not to programming. How do I add this library? I get a missing reference error related to the library. This is my first time using the product. Any help would be greatly appreciated.
Erel B4X founder Staff member Licensed User Longtime User Aug 21, 2016 #3 Please post the exact error message. william235 said: How do I add this library? Click to expand... 1. Configure the additional libraries path under Tools - Configure Paths. 2. Extract the zip file and copy its content to that folder (keep the folders structure).
Please post the exact error message. william235 said: How do I add this library? Click to expand... 1. Configure the additional libraries path under Tools - Configure Paths. 2. Extract the zip file and copy its content to that folder (keep the folders structure).
W william235 Member Aug 21, 2016 #4 Got past the issue I just posted but now I am hitting this issue. In file included from C:\Users\William\Desktop\B4R Libraries\Objects\src\src.ino:1:0: sketch\B4RDefines.h:24:25: fatal error: rSFE_BMP180.h: No such file or directory #include "rSFE_BMP180.h" And thanks very much for your previous reply.
Got past the issue I just posted but now I am hitting this issue. In file included from C:\Users\William\Desktop\B4R Libraries\Objects\src\src.ino:1:0: sketch\B4RDefines.h:24:25: fatal error: rSFE_BMP180.h: No such file or directory #include "rSFE_BMP180.h" And thanks very much for your previous reply.
Erel B4X founder Staff member Licensed User Longtime User Aug 21, 2016 #5 Do you see this file in the library folder: ?
W william235 Member Aug 21, 2016 #7 It looks like it might be one level down, not in the same place as your screen shot. Is that the case?
It looks like it might be one level down, not in the same place as your screen shot. Is that the case?
Erel B4X founder Staff member Licensed User Longtime User Aug 21, 2016 #8 1. Delete these 4 files and the xml file. 2. Create a new folder named c:\B4RLibraries 3. Configure the IDE to use it (Tools - Configure Paths). 4. Copy the xml file and the folder to c:\B4RLibraries.
1. Delete these 4 files and the xml file. 2. Create a new folder named c:\B4RLibraries 3. Configure the IDE to use it (Tools - Configure Paths). 4. Copy the xml file and the folder to c:\B4RLibraries.
W william235 Member Aug 21, 2016 #11 Did what was suggested and got the same Error: B4R version: 1.20 Parsing code. (0.00s) Compiling code. (0.02s) Building project (0.02s) Compiling & deploying Ino project (WeMos D1 R2 & mini - COM5) Error In file included from C:\Users\William\Desktop\B4R Libraries\Objects\src\src.ino:1:0: sketch\B4RDefines.h:24:25: fatal error: rSFE_BMP180.h: No such file or directory #include "rSFE_BMP180.h" ^ compilation terminated. exit status 1 Error compiling for board WeMos D1 R2 & mini.
Did what was suggested and got the same Error: B4R version: 1.20 Parsing code. (0.00s) Compiling code. (0.02s) Building project (0.02s) Compiling & deploying Ino project (WeMos D1 R2 & mini - COM5) Error In file included from C:\Users\William\Desktop\B4R Libraries\Objects\src\src.ino:1:0: sketch\B4RDefines.h:24:25: fatal error: rSFE_BMP180.h: No such file or directory #include "rSFE_BMP180.h" ^ compilation terminated. exit status 1 Error compiling for board WeMos D1 R2 & mini.
Erel B4X founder Staff member Licensed User Longtime User Aug 21, 2016 #12 Do you see this file under: C:\Users\William\Desktop\B4R Libraries\Objects\src\ ? Try to clean the project by clicking on Ctrl + P.
Do you see this file under: C:\Users\William\Desktop\B4R Libraries\Objects\src\ ? Try to clean the project by clicking on Ctrl + P.
W william235 Member Aug 21, 2016 #13 I apologize that I have wasted your time. I got it. Though I created the libraries as you suggest they were incorrectly configured. I got the code running. Thanks very much for your responses. I look forward to getting into this application. Best regards, Bill Miller
I apologize that I have wasted your time. I got it. Though I created the libraries as you suggest they were incorrectly configured. I got the code running. Thanks very much for your responses. I look forward to getting into this application. Best regards, Bill Miller
Erel B4X founder Staff member Licensed User Longtime User Aug 22, 2016 #14 V1.10 is attached to the first post. It is based on the latest version of sparkfun library. It fixes the issue with incorrect values returned.
V1.10 is attached to the first post. It is based on the latest version of sparkfun library. It fixes the issue with incorrect values returned.
W william235 Member Aug 22, 2016 #15 Erel said: V1.10 is attached to the first post. It is based on the latest version of sparkfun library. It fixes the issue with incorrect values returned. Click to expand... Perfect!!!!!! Thanks so much. I was able to get the hardware running with the Arduino SFE library. Now this works as well. I much prefer this programming environment.
Erel said: V1.10 is attached to the first post. It is based on the latest version of sparkfun library. It fixes the issue with incorrect values returned. Click to expand... Perfect!!!!!! Thanks so much. I was able to get the hardware running with the Arduino SFE library. Now this works as well. I much prefer this programming environment.