Discussion in "8051 Discussion Forum" started by    renilraju2050    Mar 17, 2011.
Fri Mar 25 2011, 06:23 pm
#31
thank u majoka for ur help,,,,,,but in the above program , u didnt gave the msdelay function.....y.....?
Sat Mar 26 2011, 09:46 am
#32
hello i used the above programs that i posted earlier for simulating using keil.....and its working
Sat Mar 26 2011, 09:54 am
#33
i consider that u has the delay function
anyhow here is delay function

//---------------------------------------
// Delay mS function
//---------------------------------------
void DelayMs(unsigned int count) 
{  // mSec Delay 11.0592 Mhz 
    unsigned int i;		       		// Keil v7.5a 
    while(count) {
        i = 115; 
		while(i>
0) i--;
        count--;
    }
}
Sat Mar 26 2011, 10:06 am
#34
thank u....!ow
Sat Mar 26 2011, 10:18 pm
#35
can anyone tell me a simple explanation for the relation between crystal frequency and the time delay functioning etc.........?

i think this thread will help all the people who are really beginners in uc.......(and also for me............ )
Sat Mar 26 2011, 11:18 pm
#36
@ renilraju2050
time calculation is critical in asm language
in c it can not be calculated accurately by looping method so we get almost delay
the above function is made on hit and trial bases and debug in keil to meet the requirement
http://www.8051projects.net/forum-t2751-0.html#post_2755


[ Edited Sat Mar 26 2011, 11:37 pm ]
Sat Mar 26 2011, 11:25 pm
#37
reni, this is a very nice tut about 805x




http://www.8052.com/tuttimng.php
Sat Mar 26 2011, 11:32 pm
#38
and also try this delay calculator for ASM


Attachment
 renilraju2050 like this.
Sat Apr 09 2011, 10:02 pm
#39
haii all.......

my final year theory exams are over....now , i come again for this thread for studying the embedded c language....expects guidence from all....hehehe
Fri Apr 15 2011, 09:18 am
#40
hello friends...........

now i am trying to understand how to interface lcd using the "c" language.....i already saw the lcd interfacing tutorial.....but i cant understand that as better way.........so friends , can anyone help me to interface lcd in a simple way.........?

i want to send ascii charactors through the "RXD and TXD" pin of the microcontroller and that charactors should be readable through lcd.......(i want to use virtual terminal in proteus for simulating it..)

so anyone can help me........? please..........

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

KevinTab
Sun Apr 28 2024, 05:35 am
Tumergix
Sun Apr 28 2024, 12:59 am
StevenDrulk
Sat Apr 27 2024, 08:47 pm
StephenHauct
Sat Apr 27 2024, 09:38 am
Adamsaf
Sat Apr 27 2024, 07:12 am
Robertphype
Sat Apr 27 2024, 12:23 am
ktaletrryp
Fri Apr 26 2024, 10:55 pm
Robertrip
Fri Apr 26 2024, 11:20 am