Pages: [1]   Go Down
Author Topic: Reading serial port with c programming  (Read 2854 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Here is the deal!

I need to read (read only, not write) the data from the serial usb port using a c program. I have no idea how to do this but I would like it to be vary simple. Get the data... store it in a variable so I can play with the content and do this over and over again.

Can anyone help me out with this.
Logged

Fred Carle
www.3facto.ca

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 533
Posts: 26942
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Go here & scroll down to Serial

http://arduino.cc/playground/Main/InterfacingWithHardware#Input
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Pages: [1]   Go Up
Jump to: