my main looks like this:
unsigned char disp_buffer[BUFFER_LENGTH][BUFFER_HEIGHT]; //BUFFER_LENGTH = 4 BUFFER_HEIGHT = 10
unsigned char i;
unsigned char j;
for(i = 0; i < BUFFER_LENGTH; i++)
for(j = 0;j < BUFFER_HEIGHT; j++)
disp_buffer[i][j] = 0b00000000;
The above code doesn't work... But if I out comment the two for-loops it will run perfectly(display_string_rolling_left(incomming_str) is then working and making the text roll on my LEDS). But why?... First of all the for-loops occurs after the display_string_rolling_left(incomming_str) function call. To my knowledge these things should be executed sequential? And since the disp_buffer is a local variable, it shouldn't influence anything out of this void display_string_still() scope?.. Or am I missing something(which problerly is the case since im new in this microcontroller world ) ?
Thanks in advance!
Added p/n to subject.
Message Edited by NLFSJ on 2008-12-17 07:47 AM