Did you adjust the timing constants to maintain the overall clock rate? It seems that the addition of your code must have affected the performance...
What does the 'DD' in i2c_master_getDD stand for? For reference, the DC in i2c_master_setDC stands for Data/Clock.
@tve started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Did you adjust the timing constants to maintain the overall clock rate? It seems that the addition of your code must have affected the performance...
What does the 'DD' in i2c_master_getDD stand for? For reference, the DC in i2c_master_setDC stands for Data/Clock.