Im using I2C bitbang and Im facing an issue. I think I need a
delay between SCL and SDA lines. Im not sure how much the delay needs
to be.
Can someone check my I2C code to see if everything checks out? I want
to make sure its not a software mistake.
#include <at89c51ic2.h>
#include <stdio.h>
#define SDA P0_0
#define SCL P0_1
void I2CInit(){
SDA = 1;
SCL = 1;
}
void I2CStart(){
SCL = 1;
I2CDel
↧