Kye's HidEngine - can't use a keyboard
pik33
Posts: 2,366
On my p1v retromachine I used this driver to attach a mouse. It run as expected.
The keyboard is not detected. Instead it blinks all three its LEDs. I tried 2 different keyboards.
Simpler driver, http://obex.parallax.com/object/181 works OK - what can be wrong?
The keyboard is not detected. Instead it blinks all three its LEDs. I tried 2 different keyboards.
Simpler driver, http://obex.parallax.com/object/181 works OK - what can be wrong?
Comments
It does work with some keyboards however... I didn't just release something completely broken - I wrote that code back as a freshman in college...
Some keyboards clock at way different frequencies - I found this out in my 1pin keyboard driver. Did you do a form of autobauding?
I think it has something to do with that. The driver runs a mouse and keyboard at the same time so I have to sample the data versus using waitpne to align perfectly with it. Assuming the data comes faster than about 20 KHz things won't work...