Go Down

Topic: Serial Communication through Eclipse C/C+= (Read 806 times) previous topic - next topic

maxwelltsai1987

Hello
  I have this project that requires OpenCV and the use of an Arduino. I have been using the Eclipse C/C++ IDE for this development and now, by a signal, I would like to "digitalWrite" to a port on my Arduino (from my Eclipse IDE). It works fine using the Arduino IDE to communicate serially with my Arduino but now, I would like to move this option into my OpenCV project.  Should I install the Arduino plugin for Eclipse and use it or this there a faster way? My idea is using Serial and if there is a better way, please tell me too. Thank you!
-- Maxwell Tsai

gnusci

The following project may be useful for you:

http://todbot.com/blog/2013/04/29/arduino-serial-updated/
--

gnusci

maxwelltsai1987

But then where do I add the codes? It seems that I have to manually type it in in the cmd. Is that correct?

gnusci

Well you can modify the code to fit your purposes, for instance, check this code:

https://github.com/eetorres/fl_firmata
--

gnusci

Go Up