|
Problems with serialI'm trying to test something really simple. I have a device sending some data through serial and I'm trying to write it to an image with string patch but I don't see anything. But if I open the Serial Monitor in Arduino I see the data appear. Here is an image of what I'm doing. Any ideas? |
what if you enter dev.cu.usb.whateveryourportis in the device name on the QC patch ?
i'm assuming you're using the FTDI usb serial drivers (latest are 2.1 if i remember well) and the dicemilia board
franz is right, without anything in the device field, the patch will happily do nothing - it doesn't know where to read from. make sure that field is the same as the one used in the arduino software (/dev/cu.usb.[stuff]), and then see if it works or not.
you might run into some problem - the serial patch on this site is ancient, and I've not released an updated version for a while; in house, we have it happily communicating with our arduino board, so it works in its latest form. I'll try to post that sometime today to get y'all up to date :)
Awesome, looking forward to trying it.
I receive hex commands through serial and I want to convert them into RGB or HSL Is there a patch to do this?
Alex
www.tangibleinteraction.com
This is probably easiest with some javascript. take a string input, split it into three parts, and you're good to go.
btw: number inputs accept typed hex (not sure if input strings in hex work -- need to test); typing in 0x2a actually sets the value to 42. Pretty handy for us nerds :) This might be of use in this case...
Will the serial patch work inside VDMX? If not, is there a way to make it work?
Alex www.tangibleinteraction.com
it should. If it doesn't , you'd rather ask David Lublin or MrRay from vdmx to developp you a serial monitor...
This is awesome I just did a quick test I can now create all kids of sliders and sequencers to control stuff through arduino thanks to Kineme IO Serial under VDMX
I'll try to post a video when I have a chance
Alex www.tangibleinteraction.com
to clarify: are you sending data to arduino as well, or just receiving ?