I want to remove this delay(); before I freak


hi got thing going on require time precision , feel delay() there eating of it. literally want blink out delay() 1 warping mind inward loop ;)

please help!!!

basically part of code in void() being call  in time regular repetition:

code: [select]


for (byte position_actuel = 0; position_actuel < position_du_caractere; position_actuel ++){
 
   digitalwrite(broche_position[position_actuel - 1], high);
   digitalwrite(broche_position[position_actuel], low);
   
   for (byte segment_actuel = 0; segment_actuel < nombre_de_segment; segment_actuel ++){
   
     if ((segment_actuel == 7) && (position_actuel == 1)){digitalwrite(broche_segment[segment_actuel], affichage_seconde);}
     else {digitalwrite(broche_segment[segment_actuel], !caractere[affichage[position_actuel]][segment_actuel]);}
             
   }  
   
   delay (5);

}



and want in way remove delay(5) @ end. 1 has idea?

this little part of code meant run 4 x 8 segments module way

5 ms pretty short delay. try removing it. delay(500)'s eat lot of time!

posting snippet not tell why delay might needed. post whole sketch.


Arduino Forum > Using Arduino > Programming Questions > I want to remove this delay(); before I freak


arduino

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support