I am in need of some serious help! I am working on a project where I need to write code to program an Arduino to turn on an LED by a voice command using Sphinx. I already have the eclipse environment set up where I can run Arduino programs and it can communicate with the Arduino fine. I can also run Sphinx's HelloWorld perfectly. However, I am having difficulty writing the code so that when I say "pin on" the LED will turn on and when I say "pin off" the LED will turn off. When I run HelloWorld it uses a different version of Java than when I run the Arduino program.
How do I write a simple code in Eclipse so that I can turn on and off an LED by saying a simple command? I've tried so many things and I know that it's possible but can anyone help?? Any and all feedback would be great!