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

header files for "swatch" function

can any one tell me the header files that are to be included for the function "SWATCH"

and can it give delay of the order of microseconds???

Parents
  • But haven't you noticed that the sample code is not a C program, but a debugger script?

    The debugger can run this code, but the debugger do not need any header file to know what swatch does. That is a good reason why the page does not mention any header file.

    The code in question will simulate a 10 Hz signal on one processor pin, so that your code can read the port pin of the simulated processor and be able to find this signal.

Reply
  • But haven't you noticed that the sample code is not a C program, but a debugger script?

    The debugger can run this code, but the debugger do not need any header file to know what swatch does. That is a good reason why the page does not mention any header file.

    The code in question will simulate a 10 Hz signal on one processor pin, so that your code can read the port pin of the simulated processor and be able to find this signal.

Children
No data