?? readme.txt
字號:
whats this?
-----------
this one is capturing keys from a standard at keyboard and displays the
characters on an LCD. the caps key toggles the keyboard LEDs.
this one isn't running that smoth yet. if anyone gets it running better
please let us know!
look here too: http://www.beyondlogic.org/keyboard/keybrd.htm
required hardware
-----------------
- a MSP430F1121 or larger device (any from the F1x series)
- any character type display with a HD44780 controler or compatible
(e.g. a KS0066 16x2 type was used for developement)
connections for a four bit interface (LCD->MSP):
RS -> P1.1
R/W -> P1.2
E -> P1.3
D4 -> P1.4
D5 -> P1.5
D6 -> P1.6
D7 -> P1.7
many LCD controllers run from 3 volts, but the display requires a
voltage difference of more than 3 volts for the contrast. this means
a negative voltage is needed on the contrast pin (usualy named VEE or
VO)
- a keyboard that runs from 3 volts (maybe many of the newer ones do)
two pull-up resistors 20k and i sugest a series resistor of 1k in the
clock and data line. connect the data line to P2.0 and the clock line
to P2.1. signal-5 pin DIN: VCC-5 CLK-1 DAT-2 GND-4
- optionaly a LED on P2.5 (470 Ohms series resistor to GND)
disclaimer
----------
this example is part of the mspgcc project http://mspgcc.sf.net
see license.txt for details.
chris
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -