avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] c++ & atmega64


From: Serhan Gürmeriç
Subject: [avr-gcc-list] c++ & atmega64
Date: Tue, 22 May 2007 16:22:40 +0300
User-agent: Mozilla Thunderbird 1.5.0.10 (Windows/20070221)

Hello,

I'm trying to simulate this code in proteus 7.1 with atmega64. It runs well if I compile it with -mmcu=atmega16 parameter by avr-g++. Problem is that same code doesn't work (i can't see any signal on pins), if i change mmcu to atmega64 without any other changes in circuit or code.

What is my fault?
Thanks

code:
---------------------------------------------------
int main(void)
{
 CS6B0108LCD lcd;

   DDRA=255;DDRB=255;DDRC=255;
lcd.DisplayOn();
   while(1)
   {
     PORTA=0;
     PORTA=255;
   }
 return 0;
}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]