Hi All
Code is:
/* everything fine = LED GREEN */ if( status == OK) toggleLed(LED_OK);
Error is :
main.c(146): error: #20: identifier "LED_OK" is undefined if( status == OK) toggleLed(LED_OK);
Why???
"I try several time and I do know."
That was _exactly_ why I in a previous thread noted that you need to spend a couple of hours with an introductory book on the C programming language.
Your current question is quite similar to: "I was writing text and suddenly the tip of my pencil broke so now it just scratches the paper. Please help me what steps I need to take to manage to write on the paper again."
You (!) must know enough C programming to understand why the compiler complains. And you (!) must know enough to be able to look at the schematics of your board and figure out what constant values would be meaningful to affect a specific green LED (assuming the board does have a green LED connected).
Starting new threads doesn't help you past the need to actually invest own time and learn. Or do you have someone else step in and pretend to be you when taking the drivers test because you can't be bothered yourself to actually learn how to drive a car?
Here: http://www.keil.com/forum/61900/