Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to ;LookUp table constants in 89c52

Status
Not open for further replies.

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
 

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
 

you forget the graduation project i made one there
 

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
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top