Hello everyone... Can anyone teach me how to change the programme as this is my 1st time using it.... sorry...
void init_serial (void){/*Initialize Serial Interface*/ PINSEL0 = 0x00000005;/* Enable RxD0 and TxD0 */ U0LCR = 0x83; /* 8 bits, no Parity, 1 Stop bit */ U0DLL = 97; /* 9600 Baud Rate @ 15MHz VPB Clock */ U0LCR = 0x03;/* DLAB = 0 */
Sorry, this is a forum for discussing questions and comments about Keil products: http://www.keil.com/forum/
It's not a tutor, I'm afaraid, and it's not practical to teach programming just with forum posts.
For a start, you need to specify which particular toolset you are using.
If you go to the 'Products' page for your chosen toolset, you will find a book list - that'd be the place to start!
http://www.keil.com/product/
"Peter young" seems to be working on exactly the same code: http://www.keil.com/forum/docs/thread10592.asp
Are you in the same class?