techpaul / PS2KeyAdvanced

Arduino PS2 Keyboard FULL keyboard protocol support and full keys to integer coding
GNU Lesser General Public License v2.1
140 stars 27 forks source link

Strange output from serial #1

Closed ajsnyde closed 7 years ago

ajsnyde commented 7 years ago

Not sure if this is an issue with your driver or not. I've run the sample program on an Uno, and keep getting strange output, like so: ™DÄhŠ+ÿl3 This output is created as I type keys, but not in a predicable manner. For example, I could tap a key and nothing will happen. However, if I tap 3 keys in succession, output will occur. This seems like an encoding issue with my keyboard (pretty standard US Dell keyboard from 2000s-ish).

ajsnyde commented 7 years ago

I had the serial baud rate to your default, which my uno didn't like. Set it to 9600 and now I'm only getting 255/FF output, which means some sort of error for the keyboard. Dunno what to do now, but I'll try out another keyboard (grabbed this one from a questionable source, with no verification that it actually works).