I have changed the scope of my project and I can successfully connect to the arduino I can send data and receive data just fine. How ever I am having an issue with using the incoming data. Based on the code below I sent a command to the arduino and it acknowledges the command and issues feedback in the form of "OFF and ON". Now I am trying to use the feedback ON/OFF to trigger other events. However that is where I am stuck. Thanks for the help!
In what way are you stuck? Please explain exactly what you want to do and what is actually happening.
Scott Eric Catalano
posted 11 months ago
When the message printed from the arduino to the console: OFF or ON I would like to trigger an event based on the word: OFF or ON below is the section of code that received the OFF or ON:
How ever if I put any code in there and recompile...I do not get any errors also my action does not occur. Being a perl programmer this type of code does work. I know this is handled differently in Java. Thanks for the help.
God is a comedian playing for an audience that is afraid to laugh - Voltair. tiny ad:
how do I do my own kindle-like thing - without amazon