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?
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.