LCDInfo.com http://forum.lcdinfo.com/ |
|
Olimex SAM7EX256 + Nokia 6100 LCD Driver http://forum.lcdinfo.com/viewtopic.php?f=6&t=2246 |
Page 1 of 1 |
Author: | Aviator [ Fri Jun 01, 2007 16:50 ] |
Post subject: | Olimex SAM7EX256 + Nokia 6100 LCD Driver |
Hi I am working with the Olimex SAM7-EX256 Board. The board has the Nokia 6100 TFT LCD. I don't know which controller it has but according to OLimex site it has GE12 or GE8 controller. I used the sample code for SAM7-P64 from sparkfun for some functions to declare for lcd: http://www.sparkfun.com/commerce/produc ... cts_id=569 and initial code from olimex: http://www.olimex.com/dev/index.html The LCD_Fill function works, i mean i can clear teh display with black and white colors using GoTo functions and writing the color data. But when i try to draw a circle or box or print some string it doesn't work i mean the Put_Pixel function doesn't work, the display shows nothing. Do i need to setup a different color lookup table, i tried to use the one from sparkfun as well as from Olimex both doesnt work. Also i would like to know whether i am using the correct color definitions, i used the exact definitions as declared in the sample code above. I dont understand where the Put_Pixel function going wrong . When i use sprintf function like below: sprintf(somestring,"Test"); LCD_String(somestring,&FONT8x8F[0][0],5,10,LightGreen,Black); It gives me error in sprintf statement: undefined reference to `memcpy' I included string.h file but still it gives error. Please anyone of you have any ideas or working on this lcd and board? Eagerly awaiting for a reply. Have a nice weekend Regards Aviator |
Page 1 of 1 | All times are UTC + 2 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |