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

how to send a string to output window

how can I send a string to output window in keil c51 uVision when complete compile?

Parents Reply Children
  • It's work to use the #warning preprocessor directive.
    There are several compile switches for different products.So I want to know which compile switches are on when I compiling.
    Example,I define
    "#define PRODUCT_SWITCH1 1",
    then I just want the output window print info such as "PRODUCT_SWITCH1 is on".
    Thanks.