| | control RCX from PC
|
| Hi all, I'm writing down some practical work for students that learn computer science. The goal is to teach them how a serial communication works. Therefore, we want them to write a program that listens to serial communications. The PC will send (...) (21 years ago, 15-Apr-04, to lugnet.robotics.rcx)
| | | | Re: control RCX from PC
|
| (...) I have a simple WIN32 console application (with C source code) that opens the USB tower to listen for messages from the RCX. You can easily modify this program (using the WriteFile() API system function) to talk to the RCX. (URL) not exactly (...) (21 years ago, 16-Apr-04, to lugnet.robotics.rcx)
| | | | Re: control RCX from PC
|
| Salut Benjamin, (...) Lejos can do that, and it could also be used on the RCX. (...) I would bet on the RemoteCommand (0xD2) LASM command. There is a description in the SDK 2.5, "LASM byte codes.pdf", page 61. The SDK can be found by (URL) could (...) (21 years ago, 16-Apr-04, to lugnet.robotics.rcx)
| | | | Re: control RCX from PC
|
| (...) Here are a couple of websites that may help: (URL) got them from other members in response to my request for help with communication via the USB port. My request was posted on the NQC site: (URL) (21 years ago, 18-Apr-04, to lugnet.robotics.rcx)
| | | | Re: control RCX from PC
|
| (...) I just looked over it, and it seems very near to my needs. I may try to modify it for writing to the USB tower. Thanks. By the way, which C++ compiler do you use ? (...) Remote" program. Am I right ? If so, it would be quite easy for me to (...) (21 years ago, 18-Apr-04, to lugnet.robotics.rcx)
| | | | Re: control RCX from PC
|
| (...) Thanks for this suggestion, but I don't want to use Lejos. It is too much a high-level language for the purpose of this class. (...) That's also one of my problems: I only use Linux, but the school uses Windows for this class. (...) Merci. (21 years ago, 18-Apr-04, to lugnet.robotics.rcx)
| | | | Re: control RCX from PC
|
| (...) I usually use the Microsoft C++ 6.0 compiler for my Windows programs, although the code should compile with little/no modification in any Windows-compatible C++ compiler. (Both the Borland and the GNU/GCC compilers should be able to rebuild (...) (21 years ago, 19-Apr-04, to lugnet.robotics.rcx)
| |