Parameter to ASCII Hex

jimspree

2007-11-20 22:37:27

It would be cool to be able to convert a parameter into a ASCII hex value for driving displays on a Mackie MCU.

Jim

florian

2007-11-21 16:17:33

yes, driving ASCII displays is a good idea. So you mean converting a variable 0..127 to 2 variables which will form an ASCII hex value?

e.g.
pp=10 -> g0=48 ['0'] g1=65 ['A']
pp=127 -> g0=55 ['7'] g1=70 ['F']
etc.

Florian

jimspree

2007-11-21 20:47:12

Florian,

That is exactly right. I figured I could do this in the fashion you just described with a boat load of rules. But could be a cool feature for the Mackie and Tranzport.

Jim