Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using java to send out the serial port

Status
Not open for further replies.

mosesj

Programmer
Oct 31, 2008
2
0
0
US
Hi, I am new to these forums and i was hoping someone here could help me with a problem i am having. I have a robot that is controlled through the serial port on an old laptop. I know how to control it using qbasic but i want to transfer it to java. I was wondering how i would write this qbasic code in java

out 888, 1
out 888, 0

where 888 is the address for the serial port on the laptop i would be using and 1 activates a specific byte on the serial port. i have looked at the java api and its all a bit over my head terminology wise. Thank you in advance for any help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top