microsoft / jacdac-c

Jacdac C Firmware library
https://aka.ms/jacdac
MIT License
13 stars 15 forks source link

i2c reset #21

Open jamesadevine opened 3 years ago

jamesadevine commented 3 years ago

Add function definition for i2c_reset

mmoskal commented 3 years ago

I found the cause of temp/hum crash - it was not enough time between requesting sensing and reading the i2c. It was due to the jd_next_sample trying to align samples. Fixed now.