• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Feedback Help

 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Group!

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!

 
Bartender
Posts: 3323
86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In what way are you stuck? Please explain exactly what you want to do and what is actually happening.
 
Scott Eric Catalano
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
reply
    Bookmark Topic Watch Topic
  • New Topic