-
Found undefined behavior in functions static unsigned char recvWithAck() and static unsigned char recvWithNack(). In some cases the MSB bit of the incoming byte was read 0 instead 1 because the sampling of the SDA line was made too early. Solved adding delayUs()
Found undefined behavior in functions static unsigned char recvWithAck() and static unsigned char recvWithNack(). In some cases the MSB bit of the incoming byte was read 0 instead 1 because the sampling of the SDA line was made too early. Solved adding delayUs()
Loading