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.
Anybody else having problems with printf() and the serial port simulation window with the latest uV2 patch?
you must make sure that the TI flag is set, before you call printf<\i><\b> or putchar<\i><\b> functions. The putchar<\i><\b> function wait the TI flag change to 1 and clear it at the begining of this function. I hope this can match you question.
I think you wanted forward slashes on your end-formatting tags! Always pays to use the 'Preview' button before posting when you've used the tags. ;-)
Thank you. This time should be ok.
(:
I'm assuming its a problem with the new patch, as I tested my code with the old uVision2 and it works just fine in the Serial Port Simulation Window.