electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

How to ;LookUp table constants in 89c52


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> How to ;LookUp table constants in 89c52
Author Message
msadek_eng



Joined: 28 May 2004
Posts: 123
Helped: 5


Post17 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 ;-)


Post17 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
Google Adsense




Post17 Jun 2007 19:04   

Ads




Back to top
msadek_eng



Joined: 28 May 2004
Posts: 123
Helped: 5


Post17 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


Post15 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


Post15 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
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> How to ;LookUp table constants in 89c52
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
[PIC] making a big table of constants in program space? (3)
lookup table in vhdl? (2)
Question about lookup table in VHDL (6)
boolean equations from lookup table (1)
lookup table with CPLD or FPGA? (2)
sine lookup table with 16 bit value... (8)
Need help with large lookup table (2)
[HELP] power lookup table in synopsys .lib (5)
LUT(lookup table) in FPGA can be implemented in ASIC? (5)
How2 define all the string into a lookup table?? (7)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS