基于串口的树莓派ps/2驱动

时间:2018-02-12 10:45:44
【文件属性】:
文件名称:基于串口的树莓派ps/2驱动
文件大小:264KB
文件格式:ZIP
更新时间:2018-02-12 10:45:44
PS/2 树莓派 RaspberryPI Linux 驱动 一个基于串口的树莓派ps/2 Linux驱动.PS/2的DATA线接串口的RX线,PS/2的CLK空置。用前要测试键盘的频率。 Using two resistors, a blue LED, a few other bits, and a kernel module you can use a PS/2 keyboard by connecting it to the Pi serial port. This works because I have found that you can read a keyboard without using the keyboard clock line if you use a serial port running at a custom speed. This works so long as the keyboard clock period is regular, which I have found to be the case with all keyboards I have tested.
【文件预览】:
ps2pi
----ps2pi.c(9KB)
----CHANGELOG(446B)
----ps2pi_files()
--------ps2-pi.png(6KB)
--------finished.png(199KB)
--------layout.png(39KB)
----probe.c(3KB)
----ps2pi.htm(22KB)
----ps2test.c(5KB)
----COPYING(35KB)

网友评论

  • 不错,正好需要这个东西。