To: | <> |
---|---|
Subject: | Re: [ts-7000] set com2 to receive data from GPS board. |
From: | "Michael Schmidt" <> |
Date: | Fri, 17 Nov 2006 11:01:17 -0700 |
... > int main(int argc, char*argv[]) > { > int file_id; > /* check the command */ > if(argc <2) > { > printf("serial_tester<device>\n"); > return 0; > } > /* Open the port */ > printf("Opening device %s\n", argv[1]); > file_id = open_port(argv[1]); > /* Get port configuration */ > port_configuration(file_id); > /* Set the port to non blocking and read the port */ > read_port(file_id); > close((file_id)); > return 0; > } > > > but the output i keep on getting is: > serial_tester<device> > > > what is wrong with this code? > It wants an argument... > thanks > Sonia Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/ts-7000/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/ts-7000/join (Yahoo! ID required) <*> To change settings via email: <*> To unsubscribe from this group, send an email to: <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [ts-7000] set com2 to receive data from GPS board., soniathakur3 |
---|---|
Next by Date: | Re: [ts-7000] set com2 to receive data from GPS board., Don W. Carr |
Previous by Thread: | [ts-7000] set com2 to receive data from GPS board., soniathakur3 |
Next by Thread: | Re: [ts-7000] set com2 to receive data from GPS board., Don W. Carr |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU