| Author |
Message |
msadek_eng
Joined: 28 May 2004 Posts: 123 Helped: 5
|
17 Jun 2007 15:27 Re: How to ;LookUp table constants in 89c52 |
|
|
|
|
how to implement a look up table of 8 bit constants in Atmel 89c52
Added after 2 minutes:
in C compiler
|
|
| Back to top |
|
 |
Bus Master
Joined: 09 Dec 2001 Posts: 209 Helped: 6 Location: Just behind You ;-)
|
17 Jun 2007 19:04 Re: How to ;LookUp table constants in 89c52 |
|
|
|
|
ma kansh el 3asham ya rayess,
unsigned char code MyTable[] = {1,2,3,...,};
Keda bardo ya 2amar?
|
|
| Back to top |
|
 |
Google AdSense

|
17 Jun 2007 19:04 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
msadek_eng
Joined: 28 May 2004 Posts: 123 Helped: 5
|
17 Jun 2007 20:25 Re: How to ;LookUp table constants in 89c52 |
|
|
|
|
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
|
|
| Back to top |
|
 |
amredries
Joined: 09 Jul 2004 Posts: 48 Helped: 1
|
15 Dec 2008 7:04 How to ;LookUp table constants in 89c52 |
|
|
|
|
| you forget the graduation project i made one there
|
|
| Back to top |
|
 |
msadek_eng
Joined: 28 May 2004 Posts: 123 Helped: 5
|
15 Dec 2008 12:31 How to ;LookUp table constants in 89c52 |
|
|
|
|
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
|
|
| Back to top |
|
 |