We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello, I am new to the C51 Compiler and I have problems getting the debug to work the way I want. the Simulator mode dont show the output of printf and so far, I cant debug my programs. Amos
The output from printf() will show up in one of the serial windows. (There are two.) That is, I assume you're using a standard 8051 UART for your printf() output. You might double-check your serial port code if it's not working. You can step through the code with the simulator and debug without using printf() to start.
"The output from printf() will show up in one of the serial windows. (There are two.)" You have to assign the UART output to a serial window or COM port. AS I said before, you need to read the Manual and do the examples - then it will all become clear!