| ??? 11/26/13 03:26 Read: times |
#190166 - what happened to MSB of data? Responding to: ???'s previous message |
for(i=0;i<8;i++) // Repeat for every bit
{
SCL = 0; // Make SCL pin low
delay1(); // Data pin should change it's value,
// when it is confirm that SCL is low
if ((Data & 0x40) == 0) //
SDA = 1;
else
SDA = 0;
delay1();
SCL = 1;
Data<<=1;
}
what happened to MSB of data? |
| Topic | Author | Date |
| i2c : PCF8575 interface with 8051 microcontroller | 01/01/70 00:00 | |
| did you notice | 01/01/70 00:00 | |
| How did you connect the LED's? | 01/01/70 00:00 | |
| LED connection to PCF8575 | 01/01/70 00:00 | |
| what happened to MSB of data? | 01/01/70 00:00 | |
Write_Byte | 01/01/70 00:00 |



