"Bridging" pins in software... Noob question
Hi everyone, I am trying to hook a CMUcam2+ up to a computer to focus it with the supplied java application. I would like to use the built in USB-Serial adapter on my Proto Board USB (pins 30 and 31) to talk to the computer. Is there a way to send the input supplied to one pin out another in software? If not, can I just connect the CMUcam serial pins to 30 and 31? This doesn't need to be a software solution, but that would be easiest for me. I thought I remembered reading something about this kind of task in the manual, but I can't find anything now that I've looked again. Also, I made an attempt at a serial proxy program using the FullDuplexSerial object, but it didn't seem to work. I'd be happy to post it if anyone wants to see it. I appreciate any advice/comments.
Thanks in advance,
ReiserificK
Thanks in advance,
ReiserificK
Comments
repeat
·· if (a := Cam.rxcheck) <> -1
····· PC.tx(a)
·· if (a := PC.rxcheck) <> -1
····· Cam.tx(a)[noparse][[/noparse]/code]
If you need to interrupt this for some reason, you can add that logic to the repeat statement.
This assumes that the Java application will need to send data back to the CMUcam.
·