Debugging - watch variables

Help and questions on programming the codebug
Post Reply
pigraham
Posts: 67
Joined: Sat Aug 15, 2015 1:41 pm

Debugging - watch variables

Post by pigraham »

Display variable values in binary on the LED array.

This is an example for values 0 to 255

http://www.codebug.co.uk/explore/codebu ... ble-watch/
pigraham
Posts: 67
Joined: Sat Aug 15, 2015 1:41 pm

Re: Debugging - watch variables

Post by pigraham »

Doh!

There is an easier way.
get string sprite operates like a stream to convert numeric variables to strings. You can "print" a variable by scrolling it across the LED array.

It doesn't seem to be possible to concatenate text and numbers.
watch.png
watch.png (8.13 KiB) Viewed 4269 times
http://www.codebug.co.uk/explore/codebu ... -variable/

Thanks to James Pearson for that.
http://www.codebug.co.uk/explore/codebu ... ulator-v1/
Post Reply