Digole
Digital Solutions
iDigole Buyer ProtectioniDigole Buyer
Protection
My shopping cart
0 Items:
Secure Checkout
Top Rated Plus
Visit Our Live Auctions
99.9% Customer's Satisfaction
 
Forum : Digole Serial Display : Color LCD Modules :

 Search Forum.. 
 Creat New Topic   Reply 

320x240 IPS with 16MB flash - welcome screen help

Hello

I am having difficulties downloading a welcome screen.

1. The 2 commands Enable/disable start screen(DSSd) - Configuration show on/off(DCd) should be ON and OFF to display only a welcome screen and then my program? In general, i want to show a simple jpg and then start my progran, no info.

2. When i don't show the configuration, nothing shows it goes directly into the program. the 4 colors loop before the config is also hidden. What is that loop? part of the config info?

3. Whatever i do with the DSS i don't see a welcome screen. I used the SSSI command to send a screen, using example and the tool to convert the jpg (320x240 jpg) to deciml, but i couldnt manage anything.

I am using I2C interface, I dont have anyother problems in general but this. Could someone help me with some arduino code?

RE:320x240 IPS with 16MB flash - welcome screen help

There is no preloaded welcome screen on flash chip version due to it will saved in the flash chip start from address 0, and we keep this chip fresh when we deliver it to you.
The welcome screen is also commands set, so, you need to add show image command before the data of image, the only pure image data is not enough.
Yes, the 4 color pixels test screen are associate with configuraton showing command, if the configuration was turn off, the pixel test will be off.
Here is the test screen which can be saved as welcome screen:

 

 

    const unsigned char startscreen[] = "CLGP\x14\x1DSF\x00SC\x01TTNOT NOT2 XOR XOR2\x00\
DM!FR\x14\x10\x54\x1D SC\x1F FR\x30\x10\x54\x1D\
DM^FR\x55\x10\xb4\x1D FR\x76\x10\xb4\x1D\
DMCSC\xE0 CC\x78\xFF\x04\x36\x01\
SC\x1C CC\x78\xFF\x04\x2C\x01\
SC\x03 CC\x78\xFF\x04\x22\x01\
DM|SC\xFC CC\x78\xFF\x04\x12\x01\
MA\x42\xCD\x35\x35\xfd\xfd\
BGC\xE3 MA\x79\xCD\x35\x35\x03\xfd\
BGC\x1F MA\x42\xFF\x04\x35\x35\xfd\x03\
BGC\xEC MA\x79\xFF\x04\x35\x35\x03\x03\
DMC BGC\x00 SC\xF0 SD1 GP\x30\x10 TTDIR 1...\x00\
SD2 GP\x30\x10 TTDIR 2...\x00\
SD3 GP\x30\x10 TTDIR 3...\x00\
SD0\
DWWIN\x00\x30\xa0\x80\
\x44\x4d\x43\x53\x43\x00\x46\x52\x00\x00\x05\x0e\x53\x43\x01\x46\x52\x05\x00\x0a\x0e\x53\x43\x02\x46\x52\x0a\x00\x0f\x0e\x53\x43\x03\x46\x52\x0f\x00\x14\x0e\x53\x43\x04\x46\x52\x14\x00\x19\x0e\x53\x43\x05\x46\x52\x19\x00\x1e\x0e\x53\x43\x06\x46\x52\x1e\x00\x23\x0e\x53\x43\x07\x46\x52\x23\x00\x28\x0e\x53\x43\x08\x46\x52\x28\x00\x2d\x0e\x53\x43\x09\x46\x52\x2d\x00\x32\x0e\x53\x43\x0a\x46\x52\x32\x00\x37\x0e\x53\x43\x0b\x46\x52\x37\x00\x3c\x0e\x53\x43\x0c\x46\x52\x3c\x00\x41\x0e\x53\x43\x0d\x46\x52\x41\x00\x46\x0e\x53\x43\x0e\x46\x52\x46\x00\x4b\x0e\x53\x43\x0f\x46\x52\x4b\x00\x50\x0e\x53\x43\x10\x46\x52\x50\x00\x55\x0e\x53\x43\x11\x46\x52\x55\x00\x5a\x0e\x53\x43\x12\x46\x52\x5a\x00\x5f\x0e\x53\x43\x13\x46\x52\x5f\x00\x64\x0e\x53\x43\x14\x46\x52\x64\x00\x69\x0e\x53\x43\x15\x46\x52\x69\x00\x6e\x0e\x53\x43\x16\x46\x52\x6e\x00\x73\x0e\x53\x43\x17\x46\x52\x73\x00\x78\x0e\x53\x43\x18\x46\x52\x78\x00\x7d\x0e\x53\x43\x19\x46\x52\x7d\x00\x82\x0e\x53\x43\x1a\x46\x52\x82\x00\x87\x0e\x53\x43\x1b\x46\x52\x87\x00\x8c\x0e\x53\x43\x1c\x46\x52\x8c\x00\x91\x0e\x53\x43\x1d\x46\x52\x91\x00\x96\x0e\x53\x43\x1e\x46\x52\x96\x00\x9b\x0e\x53\x43\x1f\x46\x52\x9b\x00\xa0\x0e\x53\x43\x20\x46\x52\x00\x0e\x05\x1c\x53\x43\x21\x46\x52\x05\x0e\x0a\x1c\x53\x43\x22\x46\x52\x0a\x0e\x0f\x1c\x53\x43\x23\x46\x52\x0f\x0e\x14\x1c\x53\x43\x24\x46\x52\x14\x0e\x19\x1c\x53\x43\x25\x46\x52\x19\x0e\x1e\x1c\x53\x43\x26\x46\x52\x1e\x0e\x23\x1c\x53\x43\x27\x46\x52\x23\x0e\x28\x1c\x53\x43\x28\x46\x52\x28\x0e\x2d\x1c\x53\x43\x29\x46\x52\x2d\x0e\x32\x1c\x53\x43\x2a\x46\x52\x32\x0e\x37\x1c\x53\x43\x2b\x46\x52\x37\x0e\x3c\x1c\x53\x43\x2c\x46\x52\x3c\x0e\x41\x1c\x53\x43\x2d\x46\x52\x41\x0e\x46\x1c\x53\x43\x2e\x46\x52\x46\x0e\x4b\x1c\x53\x43\x2f\x46\x52\x4b\x0e\x50\x1c\x53\x43\x30\x46\x52\x50\x0e\x55\x1c\x53\x43\x31\x46\x52\x55\x0e\x5a\x1c\x53\x43\x32\x46\x52\x5a\x0e\x5f\x1c\x53\x43\x33\x46\x52\x5f\x0e\x64\x1c\x53\x43\x34\x46\x52\x64\x0e\x69\x1c\x53\x43\x35\x46\x52\x69\x0e\x6e\x1c\x53\x43\x36\x46\x52\x6e\x0e\x73\x1c\x53\x43\x37\x46\x52\x73\x0e\x78\x1c\x53\x43\x38\x46\x52\x78\x0e\x7d\x1c\x53\x43\x39\x46\x52\x7d\x0e\x82\x1c\x53\x43\x3a\x46\x52\x82\x0e\x87\x1c\x53\x43\x3b\x46\x52\x87\x0e\x8c\x1c\x53\x43\x3c\x46\x52\x8c\x0e\x91\x1c\x53\x43\x3d\x46\x52\x91\x0e\x96\x1c\x53\x43\x3e\x46\x52\x96\x0e\x9b\x1c\x53\x43\x3f\x46\x52\x9b\x0e\xa0\x1c\x53\x43\x40\x46\x52\x00\x1c\x05\x2a\x53\x43\x41\x46\x52\x05\x1c\x0a\x2a\x53\x43\x42\x46\x52\x0a\x1c\x0f\x2a\x53\x43\x43\x46\x52\x0f\x1c\x14\x2a\x53\x43\x44\x46\x52\x14\x1c\x19\x2a\x53\x43\x45\x46\x52\x19\x1c\x1e\x2a\x53\x43\x46\x46\x52\x1e\x1c\x23\x2a\x53\x43\x47\x46\x52\x23\x1c\x28\x2a\x53\x43\x48\x46\x52\x28\x1c\x2d\x2a\x53\x43\x49\x46\x52\x2d\x1c\x32\x2a\x53\x43\x4a\x46\x52\x32\x1c\x37\x2a\x53\x43\x4b\x46\x52\x37\x1c\x3c\x2a\x53\x43\x4c\x46\x52\x3c\x1c\x41\x2a\x53\x43\x4d\x46\x52\x41\x1c\x46\x2a\x53\x43\x4e\x46\x52\x46\x1c\x4b\x2a\x53\x43\x4f\x46\x52\x4b\x1c\x50\x2a\x53\x43\x50\x46\x52\x50\x1c\x55\x2a\x53\x43\x51\x46\x52\x55\x1c\x5a\x2a\x53\x43\x52\x46\x52\x5a\x1c\x5f\x2a\x53\x43\x53\x46\x52\x5f\x1c\x64\x2a\x53\x43\x54\x46\x52\x64\x1c\x69\x2a\x53\x43\x55\x46\x52\x69\x1c\x6e\x2a\x53\x43\x56\x46\x52\x6e\x1c\x73\x2a\x53\x43\x57\x46\x52\x73\x1c\x78\x2a\x53\x43\x58\x46\x52\x78\x1c\x7d\x2a\x53\x43\x59\x46\x52\x7d\x1c\x82\x2a\x53\x43\x5a\x46\x52\x82\x1c\x87\x2a\x53\x43\x5b\x46\x52\x87\x1c\x8c\x2a\x53\x43\x5c\x46\x52\x8c\x1c\x91\x2a\x53\x43\x5d\x46\x52\x91\x1c\x96\x2a\x53\x43\x5e\x46\x52\x96\x1c\x9b\x2a\x53\x43\x5f\x46\x52\x9b\x1c\xa0\x2a\x53\x43\x60\x46\x52\x00\x2a\x05\x38\x53\x43\x61\x46\x52\x05\x2a\x0a\x38\x53\x43\x62\x46\x52\x0a\x2a\x0f\x38\x53\x43\x63\x46\x52\x0f\x2a\x14\x38\x53\x43\x64\x46\x52\x14\x2a\x19\x38\x53\x43\x65\x46\x52\x19\x2a\x1e\x38\x53\x43\x66\x46\x52\x1e\x2a\x23\x38\x53\x43\x67\x46\x52\x23\x2a\x28\x38\x53\x43\x68\x46\x52\x28\x2a\x2d\x38\x53\x43\x69\x46\x52\x2d\x2a\x32\x38\x53\x43\x6a\x46\x52\x32\x2a\x37\x38\x53\x43\x6b\x46\x52\x37\x2a\x3c\x38\x53\x43\x6c\x46\x52\x3c\x2a\x41\x38\x53\x43\x6d\x46\x52\x41\x2a\x46\x38\x53\x43\x6e\x46\x52\x46\x2a\x4b\x38\x53\x43\x6f\x46\x52\x4b\x2a\x50\x38\x53\x43\x70\x46\x52\x50\x2a\x55\x38\x53\x43\x71\x46\x52\x55\x2a\x5a\x38\x53\x43\x72\x46\x52\x5a\x2a\x5f\x38\x53\x43\x73\x46\x52\x5f\x2a\x64\x38\x53\x43\x74\x46\x52\x64\x2a\x69\x38\x53\x43\x75\x46\x52\x69\x2a\x6e\x38\x53\x43\x76\x46\x52\x6e\x2a\x73\x38\x53\x43\x77\x46\x52\x73\x2a\x78\x38\x53\x43\x78\x46\x52\x78\x2a\x7d\x38\x53\x43\x79\x46\x52\x7d\x2a\x82\x38\x53\x43\x7a\x46\x52\x82\x2a\x87\x38\x53\x43\x7b\x46\x52\x87\x2a\x8c\x38\x53\x43\x7c\x46\x52\x8c\x2a\x91\x38\x53\x43\x7d\x46\x52\x91\x2a\x96\x38\x53\x43\x7e\x46\x52\x96\x2a\x9b\x38\x53\x43\x7f\x46\x52\x9b\x2a\xa0\x38\x53\x43\x80\x46\x52\x00\x38\x05\x46\x53\x43\x81\x46\x52\x05\x38\x0a\x46\x53\x43\x82\x46\x52\x0a\x38\x0f\x46\x53\x43\x83\x46\x52\x0f\x38\x14\x46\x53\x43\x84\x46\x52\x14\x38\x19\x46\x53\x43\x85\x46\x52\x19\x38\x1e\x46\x53\x43\x86\x46\x52\x1e\x38\x23\x46\x53\x43\x87\x46\x52\x23\x38\x28\x46\x53\x43\x88\x46\x52\x28\x38\x2d\x46\x53\x43\x89\x46\x52\x2d\x38\x32\x46\x53\x43\x8a\x46\x52\x32\x38\x37\x46\x53\x43\x8b\x46\x52\x37\x38\x3c\x46\x53\x43\x8c\x46\x52\x3c\x38\x41\x46\x53\x43\x8d\x46\x52\x41\x38\x46\x46\x53\x43\x8e\x46\x52\x46\x38\x4b\x46\x53\x43\x8f\x46\x52\x4b\x38\x50\x46\x53\x43\x90\x46\x52\x50\x38\x55\x46\x53\x43\x91\x46\x52\x55\x38\x5a\x46\x53\x43\x92\x46\x52\x5a\x38\x5f\x46\x53\x43\x93\x46\x52\x5f\x38\x64\x46\x53\x43\x94\x46\x52\x64\x38\x69\x46\x53\x43\x95\x46\x52\x69\x38\x6e\x46\x53\x43\x96\x46\x52\x6e\x38\x73\x46\x53\x43\x97\x46\x52\x73\x38\x78\x46\x53\x43\x98\x46\x52\x78\x38\x7d\x46\x53\x43\x99\x46\x52\x7d\x38\x82\x46\x53\x43\x9a\x46\x52\x82\x38\x87\x46\x53\x43\x9b\x46\x52\x87\x38\x8c\x46\x53\x43\x9c\x46\x52\x8c\x38\x91\x46\x53\x43\x9d\x46\x52\x91\x38\x96\x46\x53\x43\x9e\x46\x52\x96\x38\x9b\x46\x53\x43\x9f\x46\x52\x9b\x38\xa0\x46\x53\x43\xa0\x46\x52\x00\x47\x05\x55\x53\x43\xa1\x46\x52\x05\x47\x0a\x55\x53\x43\xa2\x46\x52\x0a\x47\x0f\x55\x53\x43\xa3\x46\x52\x0f\x47\x14\x55\x53\x43\xa4\x46\x52\x14\x47\x19\x55\x53\x43\xa5\x46\x52\x19\x47\x1e\x55\x53\x43\xa6\x46\x52\x1e\x47\x23\x55\x53\x43\xa7\x46\x52\x23\x47\x28\x55\x53\x43\xa8\x46\x52\x28\x47\x2d\x55\x53\x43\xa9\x46\x52\x2d\x47\x32\x55\x53\x43\xaa\x46\x52\x32\x47\x37\x55\x53\x43\xab\x46\x52\x37\x47\x3c\x55\x53\x43\xac\x46\x52\x3c\x47\x41\x55\x53\x43\xad\x46\x52\x41\x47\x46\x55\x53\x43\xae\x46\x52\x46\x47\x4b\x55\x53\x43\xaf\x46\x52\x4b\x47\x50\x55\x53\x43\xb0\x46\x52\x50\x47\x55\x55\x53\x43\xb1\x46\x52\x55\x47\x5a\x55\x53\x43\xb2\x46\x52\x5a\x47\x5f\x55\x53\x43\xb3\x46\x52\x5f\x47\x64\x55\x53\x43\xb4\x46\x52\x64\x47\x69\x55\x53\x43\xb5\x46\x52\x69\x47\x6e\x55\x53\x43\xb6\x46\x52\x6e\x47\x73\x55\x53\x43\xb7\x46\x52\x73\x47\x78\x55\x53\x43\xb8\x46\x52\x78\x47\x7d\x55\x53\x43\xb9\x46\x52\x7d\x47\x82\x55\x53\x43\xba\x46\x52\x82\x47\x87\x55\x53\x43\xbb\x46\x52\x87\x47\x8c\x55\x53\x43\xbc\x46\x52\x8c\x47\x91\x55\x53\x43\xbd\x46\x52\x91\x47\x96\x55\x53\x43\xbe\x46\x52\x96\x47\x9b\x55\x53\x43\xbf\x46\x52\x9b\x47\xa0\x55\x53\x43\xc0\x46\x52\x00\x55\x05\x63\x53\x43\xc1\x46\x52\x05\x55\x0a\x63\x53\x43\xc2\x46\x52\x0a\x55\x0f\x63\x53\x43\xc3\x46\x52\x0f\x55\x14\x63\x53\x43\xc4\x46\x52\x14\x55\x19\x63\x53\x43\xc5\x46\x52\x19\x55\x1e\x63\x53\x43\xc6\x46\x52\x1e\x55\x23\x63\x53\x43\xc7\x46\x52\x23\x55\x28\x63\x53\x43\xc8\x46\x52\x28\x55\x2d\x63\x53\x43\xc9\x46\x52\x2d\x55\x32\x63\x53\x43\xca\x46\x52\x32\x55\x37\x63\x53\x43\xcb\x46\x52\x37\x55\x3c\x63\x53\x43\xcc\x46\x52\x3c\x55\x41\x63\x53\x43\xcd\x46\x52\x41\x55\x46\x63\x53\x43\xce\x46\x52\x46\x55\x4b\x63\x53\x43\xcf\x46\x52\x4b\x55\x50\x63\x53\x43\xd0\x46\x52\x50\x55\x55\x63\x53\x43\xd1\x46\x52\x55\x55\x5a\x63\x53\x43\xd2\x46\x52\x5a\x55\x5f\x63\x53\x43\xd3\x46\x52\x5f\x55\x64\x63\x53\x43\xd4\x46\x52\x64\x55\x69\x63\x53\x43\xd5\x46\x52\x69\x55\x6e\x63\x53\x43\xd6\x46\x52\x6e\x55\x73\x63\x53\x43\xd7\x46\x52\x73\x55\x78\x63\x53\x43\xd8\x46\x52\x78\x55\x7d\x63\x53\x43\xd9\x46\x52\x7d\x55\x82\x63\x53\x43\xda\x46\x52\x82\x55\x87\x63\x53\x43\xdb\x46\x52\x87\x55\x8c\x63\x53\x43\xdc\x46\x52\x8c\x55\x91\x63\x53\x43\xdd\x46\x52\x91\x55\x96\x63\x53\x43\xde\x46\x52\x96\x55\x9b\x63\x53\x43\xdf\x46\x52\x9b\x55\xa0\x63\x53\x43\xe0\x46\x52\x00\x63\x05\x71\x53\x43\xe1\x46\x52\x05\x63\x0a\x71\x53\x43\xe2\x46\x52\x0a\x63\x0f\x71\x53\x43\xe3\x46\x52\x0f\x63\x14\x71\x53\x43\xe4\x46\x52\x14\x63\x19\x71\x53\x43\xe5\x46\x52\x19\x63\x1e\x71\x53\x43\xe6\x46\x52\x1e\x63\x23\x71\x53\x43\xe7\x46\x52\x23\x63\x28\x71\x53\x43\xe8\x46\x52\x28\x63\x2d\x71\x53\x43\xe9\x46\x52\x2d\x63\x32\x71\x53\x43\xea\x46\x52\x32\x63\x37\x71\x53\x43\xeb\x46\x52\x37\x63\x3c\x71\x53\x43\xec\x46\x52\x3c\x63\x41\x71\x53\x43\xed\x46\x52\x41\x63\x46\x71\x53\x43\xee\x46\x52\x46\x63\x4b\x71\x53\x43\xef\x46\x52\x4b\x63\x50\x71\x53\x43\xf0\x46\x52\x50\x63\x55\x71\x53\x43\xf1\x46\x52\x55\x63\x5a\x71\x53\x43\xf2\x46\x52\x5a\x63\x5f\x71\x53\x43\xf3\x46\x52\x5f\x63\x64\x71\x53\x43\xf4\x46\x52\x64\x63\x69\x71\x53\x43\xf5\x46\x52\x69\x63\x6e\x71\x53\x43\xf6\x46\x52\x6e\x63\x73\x71\x53\x43\xf7\x46\x52\x73\x63\x78\x71\x53\x43\xf8\x46\x52\x78\x63\x7d\x71\x53\x43\xf9\x46\x52\x7d\x63\x82\x71\x53\x43\xfa\x46\x52\x82\x63\x87\x71\x53\x43\xfb\x46\x52\x87\x63\x8c\x71\x53\x43\xfc\x46\x52\x8c\x63\x91\x71\x53\x43\xfd\x46\x52\x91\x63\x96\x71\x53\x43\xfe\x46\x52\x96\x63\x9b\x71\x53\x43\xff\x46\x52\x9b\x63\xa0\x71\x45\x53\x43\x00\x00\x00\x46\x52\x00\x71\x06\x7f\x45\x53\x43\x00\x00\x09\x46\x52\x06\x71\x0c\x7f\x45\x53\x43\x00\x00\x12\x46\x52\x0d\x71\x13\x7f\x45\x53\x43\x00\x00\x1b\x46\x52\x14\x71\x1a\x7f\x45\x53\x43\x00\x00\x24\x46\x52\x1a\x71\x20\x7f\x45\x53\x43\x00\x00\x2d\x46\x52\x21\x71\x27\x7f\x45\x53\x43\x00\x00\x36\x46\x52\x28\x71\x2e\x7f\x45\x53\x43\x00\x00\x3f\x46\x52\x2e\x71\x34\x7f\x53\x43\x00\x46\x52\x35\x71\x3b\x7f\x53\x43\x04\x46\x52\x3c\x71\x42\x7f\x53\x43\x08\x46\x52\x42\x71\x48\x7f\x53\x43\x0c\x46\x52\x49\x71\x4f\x7f\x53\x43\x10\x46\x52\x50\x71\x56\x7f\x53\x43\x14\x46\x52\x56\x71\x5c\x7f\x53\x43\x18\x46\x52\x5d\x71\x63\x7f\x53\x43\x1c\x46\x52\x64\x71\x6a\x7f\x53\x43\x00\x46\x52\x6a\x71\x70\x7f\x53\x43\x20\x46\x52\x71\x71\x77\x7f\x53\x43\x40\x46\x52\x78\x71\x7e\x7f\x53\x43\x60\x46\x52\x7e\x71\x84\x7f\x53\x43\x80\x46\x52\x85\x71\x8b\x7f\x53\x43\xa0\x46\x52\x8c\x71\x92\x7f\x53\x43\xc0\x46\x52\x92\x71\x98\x7f\x53\x43\xe0\x46\x52\x99\x71\x9f\x7f\
RSTDW\
ESC\x3f\x00\x00 ALIGN\x00SD\x01GP\xA0\x20TTLeft Alignment\x00\
ESC\x00\x3f\x00 ALIGN\x01SD\x01GP\xA0\x30TTMiddle Alignment\x00\
ESC\x00\x00\x3f ALIGN\x02SD\x01GP\xA0\x40TTRight Alignment\x00\
ALIGN\x00SC\x01GP\x00\x00SD\x00\xff\xff";
 
You can use: downloadStartScreen(sizeof(startscreen),startscreen); to save it to module.
void downloadStartScreen(int lon, const unsigned char *data) {
        int j;
        unsigned char b;
        uint8_t c;
        writeStr("SSS");
        lon++;
        write((uint8_t) (lon / 256));
        write((uint8_t) (lon % 256));
        delay(300);
        b = 0;
        for (j = 0; j < (lon - 1); j++) {
            c = pgm_read_byte_near(data + j); //read data stored in code space in Arduino, other MCU are similar
            write(c);
            if ((++b) == 64) {
                b = 0, delay(100);
            }
        }
        write(255); //indicater of end of it
        delay(100);
    }

 

Copyright Digole Digital Solutions, 2008-2018. All rights reserved.
Powered by Victor Sun