Quote Originally Posted by circuitpro View Post
I saw a post (somewhere! - can't seem to find it again) where mackrackit posted some code on the VNC1L and used 'flowcontrol' to somehow handshake with this chip. I am putting the VNC1L on my board and, basically laying out a VDIP1. I am using this chip in order to plug a USB keyboard into this board, and am at a total loss of what to expect. With no handshaking per se supported already, I guess we're going to 'roll our own'.

I don't want to miss any keyboard characters, so, can you tell me how you are using 'flowcontrol' ?

Thanks much!
I can not remember the post you are referring to, but the only time I used anything like flow control was when using a VDIP to write to a flash drive like the example shown by Brian above. And that is not really flow control, just checking to see if the write operation is finished before going on to the next step.

In your case I think an interrupt will be needed. I have not used a VDIP with a keyboard so I am not sure if it will work that way.

The VDIP when given the read command will "dump" whatever it has in the file you are calling, at least that is the way I was using it. So setup a hardware serial input on the PIC with an interrupt. DTs instants will work well here. That way you will not miss anything.