Sign in to follow this  
Followers 0

C4D - Python To Serial


2 posts in this topic

#1   Posted

Hello everybody.

I'm struggling a bit with this one as it's a bit out of my comfort zone......Scripting.

I'm trying to get the RGB values of a mograph clone out of Cinema and on to an Arduino by serial. The xpresso setup does all of the calculation work on the cinema side which is fine, as is getting the data into a python node. My problem begins when I start using code from the pyserial library. As far as I can tell I'm not defining my outputs properly and I'm struggling to find info on the web for this area specifically.

I guess my question is:

Does anyone have any example code they can share regarding getting data coming into a python node and sending it somewhere by serial?

or

Can anyone point out where my mistakes in defining my outputs may lie?

Many thanks in advance.

Adam

post-90406-0-73409500-1344618127_thumb.j

Share this post


Link to post
Share on other sites

#2   Posted

I have answered your question on the plugincafe. Just so that other people know your topic is answered.

http://www.plugincafe.com/forum/forum_posts.asp?TID=7071

-Niklas

Share this post


Link to post
Share on other sites
This topic is now closed to further replies.
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.