Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hello
I have written a simple code to read the data present on PCF8574 pins and display it on port 2.
In my project, I have 8 switches connected to PCF8574. And I want to read the status of switches and display it on Port 2.
The following code is working perfectly for WRITE operation. When I...
Will the following code work, if I implement it on 89s52?
/* Hardware-Specific Support Functions That MUST Be Customized */
#define I2CSPEED 100
void I2CDELAY(int delay) {volatile int v; int i; for(i=0;i<delay;i++) v;}
unsigned READSCL(void) {return(1);} /* Return current level of SCL...
I'm doing a project named "Implementation of I2C Protocol"
I'm required to show the working of I2C protocol using a micro controller (say AT89s52) as a master and two slave-devices.
Slave Device #1: LCD
Slave Device #2: Not decided yet
I did some research on the internet and learned that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.