Can any one write c program for sending 10 byte of data serially in micro controller...
and 10 byte data should be declared in header file... can anyone tell me how to write header file...
If they've taken the time to learn 'C' programming, then - Yes!
You can learn 'C' programming: blog.antronics.co.uk/.../08
For a program to run on an 8051, you will also need an understanding of that architecture:
http://www.keil.com/books/
http://www.8052.com//tutorial
www.8052.com/.../187976
To use the Keil C51 tools, you will need to study the tool Manuals:
http://www.keil.com/support/man_c51.htm
In particular, take time to work through the examples in the uVision manual:
http://www.keil.com/support/man/docs/uv4/uv4_examples.htm
Note that there is a "Getting Started" guide in the C51\Hlp\ folder when you install the Keil C51 tools - look for the GS51.chm file...