Dimacus
Member
Hello everyone.
The other day I was tinkering with a toy RC car and a parallel port on an old computer,
and after a little soldering I made a simple interface between them, so, using the two channels
on the remote control for the car, I could send data to the computer.
now after a little more work, I acually got two computers to send data too eatchother.
And then it accured to me, "I wonder if i can do the same thing with the GP2X?"
Now from what I have heard, it's somewhat more difficult to use a serial port rather than a parallel port.
(since you have to send the data and control bits using only one signal line)
but I was thinking something like using shiftregisters to convert the serial data to parallel data, and then
send data on one line and a enable on another.
now my question is, how do I write and poll(or modify the interrupt table) the serial RX and TX lines?
do the function _outp(adr,data) work?
and if so, at what adress does the serial lines lie?
Thanks!
/Dimacus
The other day I was tinkering with a toy RC car and a parallel port on an old computer,
and after a little soldering I made a simple interface between them, so, using the two channels
on the remote control for the car, I could send data to the computer.
now after a little more work, I acually got two computers to send data too eatchother.
And then it accured to me, "I wonder if i can do the same thing with the GP2X?"
Now from what I have heard, it's somewhat more difficult to use a serial port rather than a parallel port.
(since you have to send the data and control bits using only one signal line)
but I was thinking something like using shiftregisters to convert the serial data to parallel data, and then
send data on one line and a enable on another.
now my question is, how do I write and poll(or modify the interrupt table) the serial RX and TX lines?
do the function _outp(adr,data) work?
and if so, at what adress does the serial lines lie?
Thanks!
/Dimacus