Pages: [1]   Go Down
Author Topic: Serial Communication through Eclipse C/C+=  (Read 750 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Edmonton, Canada
Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The following project may be useful for you:

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

--

gnusci

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Edmonton, Canada
Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

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

--

gnusci

Pages: [1]   Go Up
Jump to: