Hi Ritchie, 2008/9/7, Ritchie <[EMAIL PROTECTED]>: > Your correct about the serial comunication Joep, but why use > serial_hardware in your example while its not used in the lib? Maybe not to test this lib. But now I'm working on an i2c lib that interfaces to an eeprom. I use serial_hardware to show what is going on, so you can verify if all goes as expected.
> You are also right about the st7036 being hd44780 compatible but it > has serial so why use nibble what will cost you 3 i/o line more? True. >From a previous post I got the impression that you needed to adapt the lib to use it in 4-bit mode. If that would be the case, it would have been worth while to dig into that. But since you have not tried this (and my impression was wrong), I bet it works out of the box. So forget it. > Further more, I must disappoint you the display with the st7036 I use > does not support i2c. Too bad. i2c is great: interface pretty fast to lots of devices with only 2 pins. > See www.conrad.nl articlenr: 181877-89. I see the interface is SPI. In that case, it would be appropriate to build it on top of an SPI lib. Stef has an spi_hardware lib (see http://oase.uci.kun.nl/~mientki/pic-tools/jal/libs2/auto_lib_overview.html) and a software lib should not be too dificult (but can be created later if it turns out not to exist. > What do you mean by IMHO ?. http://nl.wikipedia.org/wiki/Internetjargon > And should you call the library "lcd.jal" what will give people maybe > the idea that it works an all lcd display's including graphic lcd and > what ever people will find on there way. If you have 10 displays, 9 of them are hd44780 compatible and that explains why lcd seems to mean 'hd44780 compatible'. What I do not like is that all kind of similar libraries that provide the same function and hardly are used at the same time, use different function names. So at least for char-based LCD libs, i'd suggest to use the same function names. In that case, you can switch LCD type, just by changing the include statement. And yes, I vote for renaming lcd.jal to lcd_hd44780.jal. Eur, others, your votes please! Joep --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jallib?hl=en -~----------~----~----~----~------~----~------~--~---
