Could you please explain a little bit more how to config the machine.xml in order to use an Arduino board? Say, I just want to turn a LED on and off by set a pin on the Arduino to "high" or "low".
Should I set it up in the sub-driver? It seems like the example sub-driver is still about linear motion. How should I set up another serial communication?
<sub-drivers class="java.util.ArrayList">
<reference-driver class="org.openpnp.machine.reference.driver.GcodeDriver" port-name="/dev/tty.usbmodem1A12421" baud="9600" units="Millimeters" max-feed-rate="50000" connect-wait-time-milliseconds="750">
<home-location units="Millimeters" x="0.0" y="0.0" z="0.0" rotation="0.0"/>
<command-confirm-regex>^ok.*</command-confirm-regex>
<actuate-double-command>{Index}</actuate-double-command>
<sub-drivers class="java.util.ArrayList"/>
</reference-driver>
</sub-drivers>
Thank you!
Jason
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/0ad462ef-0ca0-4cfa-a72f-8c88341d2a69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.