i'm doin a project in which i'm supposed to interface 8051 microcontroller wid a gsm module 2 send sms... the 8051 microcontroller is a silabs development kit and the gsm module is from multi tech. I'm now supposed 2 write a programme in which after i debug and run it should send a simple msg. I have written most of the code but i'm facin a major problem can some 1 help me! thanks a lot.
which is very clearly stated:
www.danlhenry.com/.../keil_code.png
Why not repost your code, with the commented out lines removed. It'll probably end up being about a tenth of the size.
Your Receive function looks very minimalistic!
"with the commented out lines removed"
Indeed.
But be sure to use only spaces for layout - TABs will almost certainly not be interpreted correctly. (you can set uVision - and any other decent programmer's editor - to insert spaces when you press the TAB button).
Also be sure that your code builds cleanly - without warnings or errors - before you post it.
And give a clear description of what the code is intended to do, what it actually does, and what steps you have taken to debug it.
For debugging tips, see: www.8052.com/.../169331