--===============1145382511== Content-Type: text/plain; charset=GB2312 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by pch.mit.edu id mA6H8p8A024729 I have two articles on driving static LCDs you might find useful: The first drives a 3 digit display directly with a PIC: http://www.ubasics.com/driving_static_lcds Very low power, very low cost. Includes source code near the end. Goes through what a static and multiplexed display is and the driving methods for a static display. You should only need a static display for 3-4 digits. The second article is Jinx's solutions: http://www.ubasics.com/Jinxs_static_LCD_drive_solution Only schematics. One uses an LCD driver IC (another common part ICM7211, but not the AY part you mention). The other drives the LCD with a few 74 series logic devices run from the PIC. You might email Jinx directly (he's on this list) to see if he can contribute code for either of these solutions. Good luck! -Adam 2008/11/6 gardenyu : > > Hi > > I'm building a 3 digit LCD display trying to use a Microchip's AY0438 c= ontroller. I read the C18 compiler library and found there are some prett= y good library functions for Hitachi HD44780 LCD controller. This is weir= d to me. Why do they write library functions for a driver which is not ev= en their own product? I also noticed there are a lot samples everywhere f= or driving the Hitachi chip, and very few on AY0438 driver. It turns out = for a starter, it is much easier to use a much more expensive chip (80 pi= n for Hitachi) to realize a very simple function. > > I bet the difference is that the Hitachi chip supports many more charac= ters, and people think it's "too easy" to drive AY0438, thus they don't b= other. > I'm very interested in getting a sample code written using C18 compiler= about driving just a few digits LCD using any control chip, if someone m= ay share it. Thanks a lot. > _________________________________________________________________ > =D0=C2=B0=E6=CA=D6=BB=FAMSN=A3=AC=D0=C2=B9=A6=C4=DC=A3=AC=D0=C2=CC=E5=D1= =E9=A3=A1=C2=FA=D7=E3=C4=FA=B5=C4=B6=E0=B2=CA=D0=E8=C7=F3=A3=A1 > http://mobile.msn.com.cn > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > > --=20 Please rate and vote for my contest entry: http://mypic32.com/web/guest/profiles?profileID=3D50331 --===============1145382511== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 7bit -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist --===============1145382511==--