MY "EMBEDDED C" LEARNING THREAD.......
Fri Mar 25 2011, 06:23 pm
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
hello i used the above programs that i posted earlier for simulating using keil.....and its working
Sat Mar 26 2011, 09:54 am
i consider that u has the delay function
anyhow here is 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:18 pm
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............ )
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
@ 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
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
Sat Apr 09 2011, 10:02 pm
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
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
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..........
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..........
Powered by e107 Forum System