hello all there!!
Im working with atmega 16 controller, in my algorithm it is not executing for loop properly for the given condition.
example
for(i=0; i<49; i++)
{
for(j=0; j<49; j++)
{
graph[i][j] = 0;
}
}
in this code it is stopping at i=17 or at any value instead it should complete till 49 and come out of the loop.
what all may be the probable reasons for that?
is there any problem regarding clock, that the clock of controller is moving fast and it is skipping the instructions?
help me..