I keep an arduino handy for exactly that purpose, while the code and examples are often terrible, they usually work and can give valuable insight into how to do it better. On Tue, 20 Mar 2018 5:55 pm Neil, wrote: > I was about to suggest the same thing... but other than just porting the > library, you can install/run this on an Arduino and logic-analyze to see > what I2C messages are going back and forth. > > This worked well for me when trying to clear up some confusion with the > APA102 datasheet. > > Cheers, > -Neil. > > > > On 3/20/2018 1:45 PM, jim@jpes.com wrote: > > Bob, > > > > Yes, I found several examples on the web, for several different > > processors, and in several > > different programming languages. My methods are similar to the > > examples I have found. > > I will try looking at the Arduino library though. Thanks for the tip= .. > > > > Regards, > > > > Jim > > > >> -------- Original Message -------- > >> Subject: Re: [PIC]: I2C Communications With A BMP180 > >> Temperature/Pressure/Altitude Sensor > >> From: Bob Blick > >> Date: Tue, March 20, 2018 12:17 pm > >> To: "Microcontroller discussion list - Public." > >> > >> > >> Hi Jim, > >> > >> Were you able to find any examples on the web for PIC? If not, you > could get the BMP180 library for Arduino and port it or just see what the= y > are doing so you can fix your code. > >> > >> Bob > >> ________________________________________ > >> From: piclist-bounces@mit.edu on behalf of > jim@jpes.com > >> Sent: Tuesday, March 20, 2018 9:15 AM > >> To: piclist@mit.edu > >> Subject: [PIC]: I2C Communications With A BMP180 > Temperature/Pressure/Altitude Sensor > >> > >> > >> All, > >> > >> Does anyone have any experience with this sensor? I have tried > >> getting the temperature and pressure > >> conversions to work, but I'm having no luck so far. I am using > >> MikroCPro for PIC compiler with the I2C > >> library. to write my program. I can get the unit ID and the > >> calibration data from EEPROM. But no matter > >> what I do, I cannot get the temperature or pressure values. > >> I've looked on the web for examples, and I'm believe I'm doing > >> everything correctly. I was just > >> wondering if there is something that I'm missing. If anyone has any > >> ideas, please let me know. > >> > >> Thanks all, > >> > >> Regards, > >> > >> Jim > >> > >> > >> -- > >> http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > >> View/change your membership options at > >> http://mailman.mit.edu/mailman/listinfo/piclist > >> > >> -- > >> http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > >> View/change your membership options at > >> http://mailman.mit.edu/mailman/listinfo/piclist > > -- > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .