|
From: Jean-Paul <tch...@fr...> - 2005-09-01 22:06:28
|
Hi, You have to look at the reference on your physical part and use the =20 corresponding address. It won't work otherwise. Did you have a look at: The SDCC Open Knowledge Resource http://sdccokr.dl9sec.de/ You'll find just about all you need: I2C routines, 4-bit mode lcd, 8574 .= .. Jean-Paul On Thu, 1 Sep 2005 04:23:27 -0700 (PDT), Vikram Tamboli =20 <vik...@ya...> wrote: > > hi > > Yea I know that so I had already tried with both > addreses but of no use. > > > > vikram > > > > --- Jean-Paul <tch...@fr...> wrote: > >> Hi, >> >> >> PCF8574 come in two flavors with two different fixed >> addresses >> >> PCF85474 =3D 0 1 0 0 A2 A1 A0 RW =3D 0x40 >> PCF8574A =3D 0 1 1 1 A2 A1 A0 RW =3D 0x70 >> >> It looks like you are using a PCF8574 >> with the address of a PCF85474_A_ >> and pins A2=3D0 A1=3D1 A0=3D1 >> >> Check and try again >> >> >> On Tue, 30 Aug 2005 10:57:35 -0700 (PDT), Vikram >> Tamboli >> <vik...@ya...> wrote: >> >> > Hi >> > >> > Actually I am trying to interface an 16*4 LCD to >> > AT89c51 using Pcf8574-I2C-io chip. >> > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle =20 > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing &= =20 > QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5= sf > _______________________________________________ > Sdcc-user mailing list > Sdc...@li... > https://lists.sourceforge.net/lists/listinfo/sdcc-user > --=20 NEVER jump into a LOOP! |