hi,
been working with this module a lot these days,... so far i've been able
to compile/install the module and run simple programs using the functions
available.
i need a simple program that toggles Tx, so i thought that sending a
character at a very low speed would work. So in my module i did this:
void fun() {
while (1) {
char dato1;
dato1 = 'c';
rt_com_setup(0, 900, RT_COM_PARITY_NONE, 0, 8);
rt_com_write(0, &dato1, 8);
rt_task_wait();
}
}
but it doesnt work.
i also need to read the port. A _single bit_ in Rx ... and then react to
it with Tx toggling. I know it should be very simple, but i cant figure
out whats the best solution.
thanks for your time,
Arturo.
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/