Debugging - watch variables

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

Debugging - watch variables

Post by pigraham » Tue Sep 01, 2015 10:24 am

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: 65
Joined: Sat Aug 15, 2015 1:41 pm

Re: Debugging - watch variables

Post by pigraham » Wed Sep 02, 2015 3:57 pm

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 1944 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