hi,
i have some problems with atmega128.
if i compile this code
int main ( void )
{
while(1)
{
PORTB = 0xFF;
delay(1);
PORTB = 0x00;
delay(1);
}
return (0);
}
void delay(unsigned int delay)
{
while(delay) delay--;
}
it doesnt work but it works on a mega103 and if
i take the delay routine out it works on mega128 too.
the only thing he did with the delay routine is set the portb high and that
was it...:(
maybe there is any fusebit that i have to set?
any idea??