9x2x8 lcd "command delays" per text line is probably the worst delay
your snippet lacks that exact detail
the st7920 chip has a spi i/f that's a little faster and uses less pins too
there...
In that case, if you're looking for speed then an I2C EEPROM isn't the best of choices.
I have no idea how slow the bit-banged I2CREAD is (probably pretty slow).
A 24C256 isn't all that slow, but...
24C256 is 32KB EEPROM.
So I'm using it, because I need that much amount of font/graphics data :)
Would 1K of EEPROM be enough for what you're doing?
If so, switch to a pic18, like an 18F26K22. It'll be MUCH faster than trying to read from an I2C EEPROM.
I'm using 24C256 for a good reason - due to amount of data being used :)
Also, when using program memory, it won't be that easy to form the letters, as I do in the example above.
Store the font data in program memory instead.
HenrikOlsson Yesterday, 14:59Hello.
There are LCD modules, based on ST7920 controller, which are pin and command compatible with HD44780 controllers, so they can be used with PBP, by using LCDOUT statement. This saves a lot of...
You ought to be sending this way
Assuming ADDR pin is low
i2cwrite ldta, lclk, $46, adr, dat
and read by
Thanks!
Tried both, none works, so I guess, I'm missing something else too...
Re: BH1750FVI sample code available?
not in my view
richard Today, 02:52addr var byte
addr= $46
i2cwrite sda,sck,addr,[opecode]
i2cread sda,sck,addr,[dat.highbyte,dat.lowbyte]