Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3552

SDK • Re: Bno055 breakout board and raspberry pi pico I2C using C

$
0
0
I have some HDC1080 (a temp + humidity sensor) test code and it needs measurement to be triggered, so a write then a read -- somewhat similar to what you are doing. I use i2c_write_timeout_us() and i2c_read_timeout_us() because I was testing for any errors. Anyway for both calls, I use the nostop parameter == false. I only know I2C vaguely, but I suppose this lets the sensor know that it can use the bus.

Statistics: Posted by katak255 — Sun Jun 09, 2024 1:55 am



Viewing all articles
Browse latest Browse all 3552

Trending Articles