This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Blinky.c error

I just installed Keil vision4.
I am trying to rum blinky.c and its giving me error in that.

Rebuild target 'Simulator'
assembling Startup.s...
compiling RTX_Config.c...
RTX_Config.c(156): error: #130: expected a "{"
compiling Blinky.c...
Blinky.c(50): error: #130: expected a "{"
Blinky.c(56): warning: #12-D: parsing restarts here after previous syntax error
Blinky.c(57): error: #20: identifier "led" is undefined
Blinky.c(63): error: #130: expected a "{"
Blinky.c(65): warning: #223-D: function "LED_Out" declared implicitly
Blinky.c(68): error: #20: identifier "blinking" is undefined
Blinky.c(99): error: #130: expected a "{"
Blinky.c(101): warning: #223-D: function "LED_Out" declared implicitly
Blinky.c(115): error: #247: function "init" has already been defined
Blinky.c(115): error: #130: expected a "{"
".\obj\Blinky.axf" - 8 Errors, 3 Warning(s).
Target not created

These are inbuilt things and these errors shud not be there.
What am i missing

Parents Reply Children