char view in watch window

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have an input buffer from the UART which holds a string. If I'm adding the array like so: buffer,s I can see the content.

If I'm interested to add all the individual cells in the array like so: buffer[*],c in a single command and not line by line - how can I do that?

 

 

Last Edited: Tue. Jan 9, 2018 - 10:08 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

slow_rider wrote:
Why is that?

Because the individual chars are not strings, so you cant use the "s" modifier? Might there be a "c" modifier for individual chars?

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]