Grasshopper

generative modeling for Rhino

Hello!

I have a question which I am sure has a simple solution because I think I am doing something pretty ignorant.

I am using the sample 'Serial Event' sketch that comes with the Arduino IDE.  I want to be able to write to the arduino, and have the arduino interpret that input.  I can easily read through the generic serial.

The issue occurs when I try to write and receive a response.

The Serial Event sketch when uploaded and run from the IDE works fine.  I open up the serial monitor, I type, when I give it a new line (which is what it expects to print out the text to the serial monitor) I get the expected behavior.

From grasshopper, when I write to the arduino with the serial write component, I get nothing in the serial read component, even though I send a '\n'

I tried to change the character it is waiting for to something else.  Again, it works in the serial monitor and not in GH.  Let me know if I need to explain myself better because I am writing this quickly!

thanks

Luis

Views: 59

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

© 2013   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service