Hi Paul,
Thanks for the octo library, its great
I'm trying to control my board from vvvv, I'm not really that skilled at textual programming, I use vvvv, a node based environment.
I'm trying to work out how to replicate the movie2 serial in vvvv, and I can control the pixels, and even control 1 pixel, but I can't work out how to format the serial commands so that I can control colour in a meaningful way...
I've captured the output of movie2serial, by echoing the serial data over udp in processing, and I can see that the first 3 bytes control the config, as they should, but the next 24 bytes seem to control the colour in a strange manner!
I've initially tried convert RGB values into a 6 byte Hex code and sending that (based on http://en.wikipedia.org/wiki/Web_colors converting RGB to hex section), but there are definitely 8 bytes per colour so I know thats wrong!
I've tried converting integers to raw bytes and sending that, but from what I'm seeing in the udp echo, it looks like the values are changing a bit like binary, but not binary, could explain how they are encoded?
Maybe you explain how a raw image is converted to serial in a little more detail? I'm sorry if this is a bit basic, but I've never used processing before, and can't seem to work it out!
My ideal solution would be to hack the octo library so I could send RGB values as hex, one byte for each colour or each pixel which should give me 8 bits per channel, and I see on the octo page it says you can send colour as RGB255, but can't work out how to do that either!
Ultimately I'd like to be able to use Ethernet and send artnet, but even udp of the serial as it is now would be good (Octo uses a pin that the ethernet would normally connect to, so is this even possible?), in fact at the moment straight connection via serial would be enough!
Hope you can help!
Thanks
Chris
Thanks for the octo library, its great
I'm trying to control my board from vvvv, I'm not really that skilled at textual programming, I use vvvv, a node based environment.
I'm trying to work out how to replicate the movie2 serial in vvvv, and I can control the pixels, and even control 1 pixel, but I can't work out how to format the serial commands so that I can control colour in a meaningful way...
I've captured the output of movie2serial, by echoing the serial data over udp in processing, and I can see that the first 3 bytes control the config, as they should, but the next 24 bytes seem to control the colour in a strange manner!
I've initially tried convert RGB values into a 6 byte Hex code and sending that (based on http://en.wikipedia.org/wiki/Web_colors converting RGB to hex section), but there are definitely 8 bytes per colour so I know thats wrong!
I've tried converting integers to raw bytes and sending that, but from what I'm seeing in the udp echo, it looks like the values are changing a bit like binary, but not binary, could explain how they are encoded?
Maybe you explain how a raw image is converted to serial in a little more detail? I'm sorry if this is a bit basic, but I've never used processing before, and can't seem to work it out!
My ideal solution would be to hack the octo library so I could send RGB values as hex, one byte for each colour or each pixel which should give me 8 bits per channel, and I see on the octo page it says you can send colour as RGB255, but can't work out how to do that either!
Ultimately I'd like to be able to use Ethernet and send artnet, but even udp of the serial as it is now would be good (Octo uses a pin that the ethernet would normally connect to, so is this even possible?), in fact at the moment straight connection via serial would be enough!
Hope you can help!
Thanks
Chris