Hi everybody
actually I'm doing a project about data output from scratch, would anyone can tell me how can I do that if i using
[blocks] << <and> >> [/block]
then scratch will send the data "FF FF" to serial port?
please help ....
Offline
Please don't post your topic in more than one Forum. Thanks.
As for your question...Scratch does have the ability to communicate with other processes using TCP/IP sockets as described in this topic
http://scratch.mit.edu/forums/viewtopic.php?id=9458
I am not aware of any way to have Scratch use the serial port - other than the LEGO WeDo blocks.
Offline
True, Paddle2See.
Anyway, the "~~" part of the subject isn't/isn't needed.
Offline
Thanks, please delete my other post....
but ... I only need send the message through serial port, would you mind suggest other method to do that? I won't process it by TCP/IP sockets
Offline
The good news is, there's a nice program called "serproxy" that basically shuttles commands between a TCP port (e.g., the 42001 Scratch port), and the serial port. You can find it listed here.
http://www.arduino.cc/playground/Interfacing/SerialNet
The bad news is, Scratch sends out whole strings (like "broadcast hi"), rather than simple serial data.
Offline