wood burning stoves*
The moose likes Java in General and the fly likes java and microcontrollers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "java and microcontrollers" Watch "java and microcontrollers" New topic
Author

java and microcontrollers

budsy remo
Ranch Hand

Joined: Sep 20, 2008
Posts: 103
Can somebody suggest that whether there is an api in java which can control microcontrollers . I want to come up with a gui which can send a signal to a microcontroller ?
Any ideas i mean even a design idea
Stephan van Hulst
Bartender

Joined: Sep 20, 2010
Posts: 3615
    
  14

Usually not. Most of the time, you will have to make a native library, using a language like C, and then make calls to that library using Java Native Interface (JNI).
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
Thats really going to depend on how the microcontroller normally communicates, isn't it? There are so many options as the microcontroller architectures have been moving in the direction of network compatibility for some time.

Bill
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java and microcontrollers