From: Bill P. <goa...@ya...> - 2004-01-30 22:54:07
|
Hi. I have a question on how things that slightly deviate from standard should be done. For example the CU series VFDs from Noritake/Itron. They are HD44780 compatible but contrast doesn't exist - Pin 3 goes nowhere. It's a brightness setting in software. The relevant bits are R/W low, RS high, and put 0x00h-0x03h on the pins for 4 levels of brightness. Add a cfg_number "VFDBrightness" (or whatever) entry, the sprintf and the HD_write call and that's it. It seems redundant duplicating the HD44780 driver for a slight variant. Thoughts? -BP __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ |