trying to use the equivalent code of serout in java stamp
Hello,
I recently got the javelin stamp and am trying to make my robot move, but am unsure how to do it.· I need to send a signal to a pic controller from pin 8.· Using the basic stamp II controller I would use the serout command as so: serout net,baud,[noparse][[/noparse]"!1M11600F0"] 'Forward,speed=3,distance 10'.
net con 8· // coprocessor network pin,·baud con 396· // coprocessor·network baud rate,
Can anyone show me some code that would be the equivalent of this.
Thanks,
Brian
I recently got the javelin stamp and am trying to make my robot move, but am unsure how to do it.· I need to send a signal to a pic controller from pin 8.· Using the basic stamp II controller I would use the serout command as so: serout net,baud,[noparse][[/noparse]"!1M11600F0"] 'Forward,speed=3,distance 10'.
net con 8· // coprocessor network pin,·baud con 396· // coprocessor·network baud rate,
Can anyone show me some code that would be the equivalent of this.
Thanks,
Brian
Comments
Save the code as picnet.java
Check the baudrate.
regards peter
thanks,
Brian