Whilst trying to display a ticking uptime clock remaining in the same position using just '\r' at the end of printf() I noticed the following:
RTT Viewer - ignores the CR and shows it as a space, so the time output scrolls left to right then wrap & upwards
RTT Client shows it perfectly, clock remaining on same line at the left.
RTT tab in the control panel is similar to the RTT Viewer but the '\r' is shown as a graphic symbol (musical note?)
I tried some of the line end options in the RTT Viewer but it obviously makes no difference since the problem is not a line end problem..
Is there a logical reason for the different treatment of the 0x0D carriage return character between the different RTT "viewers". ??
EDIT:Apologies, on careful observation I noticed that RTT Viewer does not show it '\r' as a space, it is ignored..And I am using v6.00e
RTT Viewer - ignores the CR and shows it as a space, so the time output scrolls left to right then wrap & upwards
RTT Client shows it perfectly, clock remaining on same line at the left.
RTT tab in the control panel is similar to the RTT Viewer but the '\r' is shown as a graphic symbol (musical note?)
I tried some of the line end options in the RTT Viewer but it obviously makes no difference since the problem is not a line end problem..
Is there a logical reason for the different treatment of the 0x0D carriage return character between the different RTT "viewers". ??
EDIT:Apologies, on careful observation I noticed that RTT Viewer does not show it '\r' as a space, it is ignored..And I am using v6.00e
The post was edited 1 time, last by ammaree ().