Jump to content

Hey

please be considerate and disable AD blocker when you are on the C4D Cafe, because it helps us run this forum. We minimalized showing of the AD's all across the forums, so please, be so kind and at least help us by having AD blocker turned off. 



Archived

This topic is now archived and is closed to further replies.

PixelProgress

C4D - Python To Serial

Recommended Posts

PixelProgress    0
  • Topic Author
  • 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

    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
    Guest
    This topic is now closed to further replies.

    • Recently Browsing   0 members

      No registered users viewing this page.

    ×