Scroll text with values gathered from input pins?

General Chit Chat
Post Reply
t3o
Posts: 3
Joined: Wed Jun 08, 2016 9:37 am

Scroll text with values gathered from input pins?

Post by t3o » Sun Jun 19, 2016 8:35 pm

Hi,

there are input pins on my codebug. I could measure temperature with one of them.
But it looks like there's no block that lets me print out a calculated value as scrolling text.
I can only scoll some static text. Thats boring.

Would you please extend the blocks so that it is possible to combine text elements and numbers from variables into a dynamic text to be scrolled?

bye
t3o

mikerr
Posts: 83
Joined: Fri Jul 31, 2015 10:37 am
Contact:

Re: Scroll text with values gathered from input pins?

Post by mikerr » Mon Jun 20, 2016 1:49 pm

Of course you can scroll dynamic text :

Image

or put that analogue reading into a variable and do some maths on it :

Image


Note that the codebug is integer based - whole numbers only,
and string manipulation is missing - but see workarounds here:
http://codebugforum.co.uk/viewtopic.php?f=13&t=13
Twitter @mikered codebug profile mikerr

pigraham
Posts: 65
Joined: Sat Aug 15, 2015 1:41 pm

Re: Scroll text with values gathered from input pins?

Post by pigraham » Mon Jun 20, 2016 6:13 pm

Scrolling variables is no problem, as shown above.

You can combine text and numbers by following a scroll of static text with another scroll of a numeric value.
Last edited by pigraham on Tue Jun 21, 2016 7:26 am, edited 1 time in total.

t3o
Posts: 3
Joined: Wed Jun 08, 2016 9:37 am

Re: Scroll text with values gathered from input pins?

Post by t3o » Mon Jun 20, 2016 6:45 pm

Oh. Thanks!
(I must have been blind. now I see.)

Post Reply