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.
hi,
working with TMP275 temperature sensor interfacing with pic18f4550.
my code is as follows :
// I2C Bus Control Definition
#define I2C_DATA_ACK 0
#define I2C_DATA_NOACK 1
#define I2C_WRITE_CMD 0
#define I2C_READ_CMD 1
#define I2C_START_CMD 0
#define I2C_REP_START_CMD 1
#define...
thanks for your reply ,
but i am sending command to both lower and higher nibble.
normally lcd is connected to suppose :
RS -RA5
E - RA4
D4 - RA0
D5 - RA1
D6 - RA2
D7 - RA3
but my hardware have following connections :
RS -RA5
E - RA4
D4 - RA3
D5 -...
hi,
i am working on 16x2 lcd with 4bit mode on pic18f. my connections are as follows :
RS -RA5
E - RA4
D4 - RA3
D5 - RA2
D6 - RA1
D7 - RA0
so my shifting bits are as follows :
/* First nibble */
E_BIT_HIGH; // E to HIGH
udelay(2);
// Write data
LATA = ((LATA & 0x0F) | ((cmd &...
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.