| ??? 09/25/02 08:32 Read: times |
#29643 - RE: Calling a image file from my c code |
Sorry, I pressed the TAB key to try and indent some text and it posted the message!
unsigned char code bmp[64][128]= { {0x12,0x34, etc}, //128 values {0x12,0x34, etc}, //128 values {etc}, //64 times} }; Have your PC conversion program generate a text file with the extension .c containing the array declaration initialised with values taken from the .bmp file, include this in your project and you're off. If your display is two colour you could reduce the size of the array to one bit per pixel but this would mean more complicated code to transfer the data to the display. |
| Topic | Author | Date |
| Calling a image file from my c code | 01/01/70 00:00 | |
| RE: Calling a image file from my c code | 01/01/70 00:00 | |
| RE: Calling a image file from my c code | 01/01/70 00:00 | |
| RE: Calling a image file from my c code | 01/01/70 00:00 | |
| RE: Calling a image file from my c code | 01/01/70 00:00 | |
| RE: Calling a image file from my c code | 01/01/70 00:00 | |
| RE: Calling a image file from my c code | 01/01/70 00:00 | |
| RE: Calling a image file from my c code | 01/01/70 00:00 | |
| RE: Calling a image file from my c code | 01/01/70 00:00 | |
RE: Calling a image file from my c code | 01/01/70 00:00 |



