hey guys i am new to embedded world and off course to programming,
i have a arduino uno but i dont use ide (i use avr-gcc, avrdude)
i had a successfull start but everything with the for loop burns me a lot.
when i manually execute them all work fime
when i use for loop nithing works,i checked my code on with variables(a,b,f,...) in a gcc compiler and the outputs were expected
i know it must be silly one but please do helpme .
here comes the code.
DDRB = 0xff;
PORTB = array[i];
even when i put these statements inside a while loop it dosent work.(but loops perfectly with a normal gcc compiler using variables)