wood burning stoves 2.0*
The moose likes Distributed Java and the fly likes Hardware Interfacing in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Distributed Java
Reply locked New topic
Author

Hardware Interfacing in Java

Raza Taqi
Greenhorn

Joined: Jul 06, 2004
Posts: 11
Respected Group Members,
Is it possible to do hardware interfacing through java,I mean to say that lets suppose I have 3 LED(Light Emitting Diodes) and I want to control them through parallel ports than does java provides some methods or are there any specific API's avaliable for interfacing through parallel ports,serial ports and other hardware devices.In C language we have outportb() function for interfacing to parallel ports are any such of these available in Java.

Thanking You,
Taqi Raza
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
Since Java is intended to be hardware independent, it is naturally a little tricky to interface with ports. The COMM API allows you to talk to serial and parallel ports. Here is Sun's primary page for COMM API.
If you want to play with hardware, there are some cool kits such as the Dallas Semiconductor TINI compact Java processor.
Bill
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Round these parts, posting the same question in multiple forums is bad practice. It can make it rather difficult to follow a conversation, plus folks spend time saying things that were just said.

Please continue in the duplicate post in the Other Java APIs forum...


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Hardware Interfacing in Java
 
Similar Threads
hardware niterfacing in Java
Hardware Interfacing in Java
Comm Package Discussion,S/w,h/w interfacing
how to do hardware interfacing with java
Hardware Interfacing in Java