skoberlink
New member
I've just purchased the CFAF240320E-T and I've been trying to write some test programs to get familiar with this screen. To figure out initialization, I've been looking at the provided sample source code. I pretty much understand why every thing is happening except for a few lines:
That code is before any of the other initial register writes but I can't figure out why you need to write those values to those registers. There doesn't seem to be anything in the datasheet and all I can find on Google is that those lines are required but no reason why. I'm reluctant to use code I don't understand. Can anyone explain to me why those register writes are necessary?
EDIT: When I say that those lines seem to be required it seems to be required by the ili9325 driver and not by the LCD but I could be wrong about that.
Code:
write_command(0x00FF);
write_data(0x0001);
write_command(0x00F3);
write_data(0x0008);
write_command(0x00F3);
EDIT: When I say that those lines seem to be required it seems to be required by the ili9325 driver and not by the LCD but I could be wrong about that.
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.
Last edited: