how do I limit the display to only display the first four characters of the parameter to level enough space for the value?

Hi, I am not entirely new to arduino or OSC, but I am very much at the modifying scripts stage and slowing working things out. So any help is great appreciated

I am using a 128x128 tft screen.

Looking at the script the parameter OSC field is used for OSC and for the display.

This is great when it comes to Pan,Tilt, Zoom etc but becomes a mess once I get beyond 4 characters.

is there a way to limit the number of characters displayed, so Diff of Diffusion.

Alternatively could the labelling be done so that the display is separate to the parameter? so Gobo_Wheel_1 is Go 1 and GoR 1 for example?

Parents Reply
  • Hi sstaub,

    Using arduino nano (clone)

    the sketch is this -

    https://github.com/ntbutler87/lighthack/blob/master/sketch_sep30a.ino

    What I have done is basically the same as this with a modified pcb to connect up a different TFT screen, with a slightly different pinout. I have a couple and the only changes I have made so far are changing which parameters I am wanting to control and in the case of one (I am making 2) I had to rotate the screen 180 as the two tft's are clearly oriented differently on the controller board.

    Building it as a improvement on my current controller which is a stock Lighthack Box1 on a uno.

    Also I have seen but can't find again a complete list of EOS OSC parameters, if you old point me at that too that would be great.

    Thanks in advance

    Tom

Children