Hej ho,
I got a little Problems to define digital and analog signals in vvvv with Arduino and StandardFirmata. I’ve appended the connection diagrams (one analog, one digital) of an array of 5 buttons and the *.v4p.
For the analog button array I get relative clean signals between 0-255 But I can’t figure out how to say vvvv if you get the value e.g. 61 from the 1st. button give me a “1” and for the 5th. button(value: 255) give me a “5” back to get this in a switch later.
The second challenge I have is to get only one “1” on triggering the button. At the moment I trigger the Buttons and v4 changes the color or Transformation continously.
Frank
https://vvvv.org/sites/default/files/imagecache/large/images/Button_digital.JPG
https://vvvv.org/sites/default/files/imagecache/large/images/Button_analog.JPG
Arduino Input (38.1 kB)