No Mark,
Its a plain question. :)
I really know very little about avr. Rather think I am bit lazy to find out. So I wrote in surprise.
I looked into the lib files as you suggested, and their lbx versions. And I didn't find any ref to processor type.
Regarding LCD 40 * 4 , I tried some changes as follows (but didn't work)
In my code,
config vport0 = b
$lib "lcd4E2_new.lbx"
-----------------------------------
in "lcd4E2_new.lib" file, changed these lines, then compiled it using lib manager,
[_Init_LCD]
.EQU LCDDDR=$16 ;
.EQU LCDPORT=$17 ; changed for xmega
But still LCD not initialised.
------------------------------------------
BTW, I am sending money for Basic support subscription.
That will make me more comfortable to ask questions.
And heartful thanks for these great compilers. Made my life very easy :-)
(I could never get the hang of C language :-(
Best Regards,
Devidas
↧