Posted: Mon Nov 04, 2019 4:55 pm Post subject: EA DOGM204 nice 20x4 ultraslim display
Hello. I got such a display
It is :
* extremely compact at 66 x 40 mm at the standard font size of 4.8 mm (4 x 10)
* ultra-flat at 2.0 mm without backlight or 5.8 mm including LED backlight
* 4-bit, 8-bit, SPI interface (2-/3-/4-wire) and I²C (2-wire)
* typical power consumption of only 250µA in full operation (LED white backlight as of 3mA)
* easy installation by simply soldering into the board
* A whole range of design variants can be supplied as of single units
* Changing background color
Unfortunatelly I dont have backlight yet so first Im using flashlight and then some Rainbowled`s
Backlight will arrive soon I think.
I have modified "4_anypin.lib" with some needed initialisation, and then anyone can use Bascom`s dedicated functions like Lcd and Locate.
Remember to choose 20x4A because adressess for rows are &H00, &H20, &H40 and $H60
Library and datasheet attached.
Tested on the 3V3 circuit. Not tested with Xmega but oryginally "4_anypin.lib" support Xmega so it should work.
Code:
$regfile="m1284def.dat" $crystal=16000000 $hwstack=64 $swstack=16 $framesize=64 Config Submode = New
Hello. A small update.
This LCD`s are great. They have three internal ROM`s of your choice (ROMA, ROMB & ROMC).
By default ROMC is enabled but "non english-japanese" ROM have some cool icons so you don`t need to define it.
Maybe you need more cyrillic characters? no problem!
I wrote a sub that allow you to select rest of ROM`s.
Yes, contrast is great. It is temperature compensated from -20 to +70
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum