Hey Grog,
Thanks for implementing the new Serial service based on my previous request,
I want to use this service for my robotic chess project.
I have an arduino connected to the PC and I am able to connect it with MRL using Serial service, but when I am sending a string from arduino I am getting its ASCII value on the log file.
Could you plz help me on how I can get the proper string into MRL from arduio.
Thanks :)
You want a series of bytes?
You want a series of bytes? Integers? Chars? ASCI HEX or Binary strings?
Should it be configurable perhaps?
I don't know if it's that you
I don't know if it's that you want, but you can easyly convert ascii to char in python .
Exemple :
I want to read characters or
I want to read characters or string so i can input moves into the chess service.
There is a read(integer) function in the serial service, i was wondering if we could have a read(string) function as well,
So I can read sting data being sent from Arduino and then send that into the chess service for making my moves.
Suggestions / Help???
Try this one ;D tell me if it
Try the second script i posted in the service page ;D tell me if it works...
It should convert ascii to char, and print the result in python... :D
http://myrobotlab.org/service/serial
how to connect python to chess service
Hey Alessandruino,
Thanks for the script, could you tell me how to connect this python service with chess service so I can send the char/ string into the chess as moves.
Which fuction should I select in the gui tab and connect it with chess?
:)