Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

write to port

  Asked By: Jody    Date: Jan 30    Category: Java    Views: 810
  

Is there anyway i can just force java to write bytes to a port. I
need it to output a smaal amout of voltage to a relay so that it can
make a sronger output to ie ight a bulb. Is it possible?

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Ella Brown     Answered On: Jan 30

If you are using primitive types you will have to
convert them to an array of bytes  then pass this to
the OutputStreams write  method.

 
Didn't find what you were looking for? Find more on write to port Or get search suggestion and latest updates.




Tagged: