Go Down

Topic: Please help! (Read 448 times) previous topic - next topic

n0mad_xak

Anyone have idea how to make c/c++ program which can send bits, strings to arduino and receive strings or bits from arduino (for example to receive or send "hello" or 11011, something like serial monitor)??!

THANK YOU!

n0mad_xak

Is there anyone who can help me? Just to give some direction.....?

neillzero

#2
Nov 06, 2006, 07:50 pm Last Edit: Nov 06, 2006, 08:20 pm by neillzero Reason: 1
on which platform?  windows?  linux?

libraries:
http://sourceforge.net/projects/libserial/
http://www.codeproject.com/system/serial.asp

books:
http://www.easysw.com/~mike/serial/serial.html
http://www.comptechdoc.org/os/linux/programming/c/linux_pgcserial.html
http://www.dogma.net/markn/serial/serial.htm

google:
http://www.google.co.uk/search?q=serial+c%2B%2B

neillzero

#3
Nov 06, 2006, 07:55 pm Last Edit: Nov 06, 2006, 08:23 pm by neillzero Reason: 1
What's the context for your program?  If it doesn't really have to be a c / c++ program, you'd probably have a lot more fun learning PD, processing or VVVV and using those for the communication than doing so in C.  You'd also find ready-made programs - http://www.arduino.cc/playground/Main/Interfacing has some starting points for interfacing in various languages.

Or do you just want a simple command-line tool for *nix environment?

n0mad_xak

Hello neillzero! Thank you for answer. Exactly what i need is Borland C++ code which will be identical like hyperterminal (windows), becouse i need application which will send data to arduino and when arduino receive specific data it will do specific thing :), and (the same application) has to be on listening mode always for receiving data which arduino sends to it. If is there possibility to make (somehow) my borland works like processing arduino environment by including some libraries, it would be great. Thank you!

Go Up