Shop OBEX P1 Docs P2 Docs Learn Events
Kye's HidEngine - can't use a keyboard — Parallax Forums

Kye's HidEngine - can't use a keyboard

pik33pik33 Posts: 2,366
edited 2014-11-06 09:07 in Propeller 1
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?

Comments

  • KyeKye Posts: 2,200
    edited 2014-11-05 06:23
    Yeah, my keyboard driver doesn't work with all keyboards... I could never figure out why. Just use the Parallax one.

    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...
  • Cluso99Cluso99 Posts: 18,069
    edited 2014-11-05 12:23
    Kye,
    Some keyboards clock at way different frequencies - I found this out in my 1pin keyboard driver. Did you do a form of autobauding?
  • KyeKye Posts: 2,200
    edited 2014-11-06 09:07
    Yeah,

    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...
Sign In or Register to comment.