zvonko69 wrote on Tuesday, May 11, 2010:
im not sure i understand, i.e. the last sentence is a bit confusing, where would you wait for a semaphore ?
its a small array of LEDS, 8 rows x 23 columns, each row is refreshed every 800 microseconds, i.e. each row is turned on
for approx. 800 microseconds, if i exceed this timing , screen flickering can be seen, i mean it does not have to be exactly
800 microseconds , 100 microseconds up or down could be tolerated, this would only affect brightness of leds
how would you approach to this example with 1 ms system tick and 8 Mhz clock,
what is a good value for system tick anyway , the default is 1 ms in atmega32 port that is why i mention it
the data for the whole array is stored in array variable in RAM