This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
serial is working
- From: Chuck McManis <ecos at mcmanis dot com>
- To: ECOS Discussion Group <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 28 Feb 2007 23:31:40 -0800
- Subject: [ECOS] serial is working
Ok, I've got serial I/O basically working.
Question if I want to replace stdin/stdout must I open /dev/tty1 twice? as in
stdin = fopen("/dev/tty1", "r");
stdout = fopen("/dev/tty1", "w");
Seems like if I open it "rw" I can read from it but when I try writing to
it nothing comes out...
--Chuck
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss