firexx / ssd1803a_i2c Goto Github PK
View Code? Open in Web Editor NEWLCD library for MIDAS display with SSD1803a controller over i2c interface.
License: GNU Lesser General Public License v2.1
LCD library for MIDAS display with SSD1803a controller over i2c interface.
License: GNU Lesser General Public License v2.1
My problem is the different display. I send the 'A' character but the screen display a different character.
Hi,
Confirmed it's incorrect, forgot to set back to DDRAM after write.
Same code as an example but converted for nrf52.
uint8_t *c = &characters[0];
uint8_t x = 0;
while (c < (&characters[0] + sizeof(characters))) {
i = 0;
dmaBuffer.transfer[i++] = INSTRUCTION_COMMAND;
dmaBuffer.transfer[i++] = COMMAND_ADDRESS_CGRAM | x << 3;
txWait(i);
for(uint8_t j = 0; j < 8; j++) {
i = 0;
dmaBuffer.transfer[i++] = INSTRUCTION_DATA;
dmaBuffer.transfer[i++] = *c;
c++;
txWait(i);
}
i = 0;
dmaBuffer.transfer[i++] = INSTRUCTION_COMMAND;
dmaBuffer.transfer[i++] = COMMAND_ADDRESS_DDRAM;
txWait(i);
x++;
}
Hi.
Have you thought about adding so that it is possible and choose if you want to show different number of lines with different height of text (Double Height)?
Ex.
1 row of standard height
1 row of standard height
1 row of double height
as showed in "https://www.lcd-module.de/fileadmin/eng/pdf/zubehoer/ssd1803a_2_0.pdf" page 44
This library is working very well.
Thanks for all your work.
Hello Firexx,
I am trying to use the library you wrote with 16x4 character displays (EA DOGS164N-A, https://www.mouser.fr/datasheet/2/127/dogs164e-1532335.pdf ), since they use the same SSD1803A controller as your MIDAS display.
For now, I can't make it work. My poor skills in writing or editing libraries don't allow me to find the cause of the problem. I can only set the contrast, but text won't print on the display.
Could you help me please ?
Thank you a lot for your work and time.
Julien.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.