Hello semicolo Thanks for your answer. I assumed that my cpu is running @ 1mhz... I've tested the cpu speed with a blinking led - test: __delay_cycles(2000000) = 1 sec So my CPU is running at 2mhz ... (16mhz - Divider = 8). How can i speed up the I2C communication ..?
Hi Can anyone explain why the reading of the sensor data requires this ultralong delays? * __delay_cycles(200000) -> Why wait 200ms? According to the sensor specification the wait should be at least 5ms? I'd like to make at least 10 measurements per second... Thanks for an answer Best Regards Matthias