I have a vex v.5 system and i have the on-line code downloaded to the bot. My dilemma is that i want to control the motors from my computer using the SerialPort object in C#. I connect to the serial port object with no errors with the command “serialPort.open()”, but I am wondering what string or what data i send to the bot to get it to move. For example if i want to tell the robot to set motor 8 to 127, what string of data do i send through the serial port to have it do this?
Are you trying to do this with easyC?
No,in Microsoft Visual Studio 2005 C# I open up the serial port connection to the robot and i want to know what string of data i send to the robot to change the motor speeds. Or even better yet, are you allowed to send me the source for the on-line window that I open the computer?
Please see the post “PC Interfacing”. You may be able to use the DDT we have developed to talk to the Vex Controller using a PC. The DDT code is not supported.
So I take it that you are not able to publically release the source code to the online window?
The online window is a function of the easyC software. You will need to post your question in the easyC FAQs section. Not sure what they can release.
Thanks. Ill go ask them.