Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
@joan: I finally found out, what was going on. The main loop was still executed when running the interrupt-code. So both calls on the I2C were interfering with each other. I have fixed it now by syncing the requests. Does anybody know if the execution of the remaining program can be paused when entering an interrupt routine?