Jun 17, 2007 #1 M msadek_eng Advanced Member level 4 Joined May 28, 2004 Messages 117 Helped 7 Reputation 14 Reaction score 2 Trophy points 1,298 Activity points 771 how to implement a look up table of 8 bit constants in Atmel 89c52 Added after 2 minutes: in C compiler
how to implement a look up table of 8 bit constants in Atmel 89c52 Added after 2 minutes: in C compiler
Jun 17, 2007 #2 B Bus Master Full Member level 3 Joined Dec 9, 2001 Messages 186 Helped 9 Reputation 18 Reaction score 3 Trophy points 1,298 Location Just behind You ;-) Activity points 1,455 ma kansh el 3asham ya rayess, unsigned char code MyTable[] = {1,2,3,...,}; Keda bardo ya 2amar?
Jun 17, 2007 #3 M msadek_eng Advanced Member level 4 Joined May 28, 2004 Messages 117 Helped 7 Reputation 14 Reaction score 2 Trophy points 1,298 Activity points 771 Ya rayes ana kont bamt7en el nas hena bas el kebeer kebeer take this architucture from me and it will solve all your programming problems void main (void) { Timer0_init(void); //Initializa timer 0 in 16 bit mode While(1) { Module1() ; Module2() ; . . . . . ModuleN(); Ending: while(TF0 == 0){} TF0 = 0 ; TL0 = 0X30 ; // Reloading timer 0 TH0 = 0XF8 ; } } // N.B. Time of (Module1+Module2+.......+ModuleN) <= timer 0 overflow
Ya rayes ana kont bamt7en el nas hena bas el kebeer kebeer take this architucture from me and it will solve all your programming problems void main (void) { Timer0_init(void); //Initializa timer 0 in 16 bit mode While(1) { Module1() ; Module2() ; . . . . . ModuleN(); Ending: while(TF0 == 0){} TF0 = 0 ; TL0 = 0X30 ; // Reloading timer 0 TH0 = 0XF8 ; } } // N.B. Time of (Module1+Module2+.......+ModuleN) <= timer 0 overflow
Dec 15, 2008 #4 A amredries Member level 2 Joined Jul 9, 2004 Messages 47 Helped 1 Reputation 2 Reaction score 0 Trophy points 1,286 Activity points 259 you forget the graduation project i made one there
Dec 15, 2008 #5 M msadek_eng Advanced Member level 4 Joined May 28, 2004 Messages 117 Helped 7 Reputation 14 Reaction score 2 Trophy points 1,298 Activity points 771 mashy ya 3am 3amroa aah mesh lamma el mashroo3 haneg ma3a el doctor hafta7 tany mashroo3 el takharog ya sedy wel maya tekadeb el 3atshan
mashy ya 3am 3amroa aah mesh lamma el mashroo3 haneg ma3a el doctor hafta7 tany mashroo3 el takharog ya sedy wel maya tekadeb el 3atshan