PS2 Keyboard interface for use with embedded platf
2016-08-23
0 0 0
no vote
Other
Earn points
Code for interfacing an AT PS2 keyboard to common interfaces: serial port output at 9600 bauds, parallel output with strobe or SPI port with a ready signal. Original code was for the 68HC705J1A http://retired.beyondlogic.org/keyboard/keybrd.htm but I ported this to an Atmel ATtiny48, added support for an SPI interface and parallel output, added support for more keys. The ATtiny48 uses its internal oscillator and needs only the connectors to work.
Code is compiled with avr-as and linked with avr-ld (makefile included). The ATtiny48 can be programmed in circuit using avrdude (on linux or windows). A key map is included.
Bonus: code provides structured macros for assembler.
asm
嵌入式
PS
平台
键盘
接口
用于
Related Source Codes
GPS DOP value calculation
0
0
no vote
A simple embedded operating system
0
0
no vote
PSO_ matlab implementation
0
0
no vote
Slip system calculation
0
0
no vote
Mqtt connection onenet source code based on stm32f
0
0
no vote
No comment