Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Konstantinos L. Angelis
02/02/18 04:25
Modified:
  02/02/18 04:26

Read: 64 times
Lamia
Greece


 
#190832 - I2C library for 8051 VERY BLOCKING !
Responding to: Murray R. Van Luyn's previous message
In this file for I2C with Keil 8051
https://8051.duenna.science/click.php?Down/I2C_0.1.zip
there is somethning very blocking to worry about.

void i2c_transmit_byte(unsigned char byte)
{
  ...

  /* Wait for slave to acknowledge. */
    while(SDA) continue;

  ...
}

 


It is a very dangerous situation, maybe it is a joke !




List of 3 messages in thread
TopicAuthorDate
Murray's 8051 Homepage is back!      Murray R. Van Luyn      01/20/18 21:43      
   I2C library for 8051 VERY BLOCKING !      KONSTANTINOS L. ANGELIS      02/02/18 04:25      
      that is the reason for the quotes      Erik Malund      02/02/18 10:15      

Back to Subject List