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

arm7 - "signal function" in keil

Hi. I tried to use the Signal Function i my project (lpc2129) and it didn't work. There an error appeared during compilation.
Code of my simple signal function:

void signal sig(void)
{
 ain1=1.0;
 twatch(100);
}

Can someone explain why it doesn't work?

Parents
  • The signal function shown before applies to the uVision simulator and acts much like a script which generates inputs to the simulation. Such funtions are 'compiled' in the simulator environment by a built in parser and.

    Trying to compile a 'signal' funtions with the MDK/RVCT compiler makes no sense since it does not know anything about the simulation or 'signal' or 'twatch' etc.

Reply
  • The signal function shown before applies to the uVision simulator and acts much like a script which generates inputs to the simulation. Such funtions are 'compiled' in the simulator environment by a built in parser and.

    Trying to compile a 'signal' funtions with the MDK/RVCT compiler makes no sense since it does not know anything about the simulation or 'signal' or 'twatch' etc.

Children
No data