Replies: 3 comments 5 replies
-
Is that a similar device as a BMP280? |
Beta Was this translation helpful? Give feedback.
-
Some notes first If your config question pertains to the MODE. see https://abyz.me.uk/rpi/pigpio/python.html, search for mode. Some datasheets require careful reading to determine the required MODE. You mentioned using a GPIO for chip enable. |
Beta Was this translation helpful? Give feedback.
-
Well looking at the DAC8552 example was the key. Here is a working version that asks the device for it's ID (register 0xD0) and gives the correct answer for BME280 (0x60). Thanks for the assist. Here is the working code (needs to be cleaned up, but it's a basic start).
|
Beta Was this translation helpful? Give feedback.
-
Hi,
Cross post from SO, but I'm trying to use v2 to talk to a BME280 with SPI and a GPIO pin. I can't see how to configure the provider to do this, am I missing something? I can't find an example and am not seeing what I need obviously in the javadoc.
Kevin
Beta Was this translation helpful? Give feedback.
All reactions