Digilent PmodCLS 참조 매뉴얼 - 페이지 2

{카테고리_이름} Digilent PmodCLS에 대한 참조 매뉴얼을 온라인으로 검색하거나 PDF를 다운로드하세요. Digilent PmodCLS 5 페이지. Serial lcd display module
Digilent PmodCLS에 대해서도 마찬가지입니다: 참조 매뉴얼 (4 페이지)

PmodCLS Reference Manual
jumper is represented by 1 and a connected
jumper is represented by 0.
MD2, MD1, MD0
Protocol
0,0,0
0,0,1
0,1,0
0,1,1
1,0,0
1,0,1
1,1,0
1,1,1
specified
EEPROM
Connector J1 is used for SPI communication.
Connector J2 can either be used for UART or
TWI communication. Connectors J4 and J5
can be used to daisy chain other TWI devices.
Power Supply Options
The module is rated for external power ranging
from 2.7 to 5.5 volts DC. Using voltage outside
this range could damage the PmodCLS and
connected devices. The PmodCLS can be
powered through the board's 6-pin headers J1
or J2, or through connectors J6 or J7.
When the module is connected to another
Digilent microcontroller or FPGA board, that
board can power the PmodCLS through a
Pmod connector. The host board should be
jumpered to provide 3.3V on the VCC pin of
the connector being used. The module is then
powered by the host board's power supply.
Instruction Set
The PmodCLS is capable of executing many
different instructions. Instructions are sent
using escape sequences. An escape sequence
begins with the ESC character (character code
0x1B or decimal 27), followed by the left
square bracket '[' , followed by 0 or more
parameters separated by semicolons ';' and
ending with the command character.
Command characters are case sensitive.
www.digilentinc.com
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
Details
UART
2400 baud
UART
4800 baud
UART
9600 baud
UART
baud rate in
EEPROM
TWI
address: 0x48
TWI
address in
EEPROM
SPI
specified in
in
EEPROM
Instruction
<row>;<col>H
s
u
j
<ps>K
<ps>N
<pn>@
<pn>A
*
<ps>h
<ps>c
<pn>a
<pn>b
<pt>p
Instruction
<pt>t
<pt>l
<pn>...<pn>;<ps>d
<ps>m
Digilent, Inc.
www.digilentinc.com
Result
set cursor position to
<row>,<col>
save cursor position
restore saved cursor
position
clear display and home
cursor
erase within line
0 = current position to
end of line
1 = start of line to
current position
2 = entire line
erase field in current line
<ps> = number of chars
starting at current
position
scroll left <pn> columns
scroll right <pn>
columns
reset; equivalent to
cycling power of
PmodCLS
set display mode
0 = wrap line at 16
characters
1 = wrap line at 40
characters
set cursor mode
0 = cursor off
1 = cursor on, blink off
2 = cursor on, blink on
save TWI address in
EEPROM to <pn>
save baud rate value in
EEPROM to <pn>
program character table
into LCD
Result
save RAM character
table to EEPROM
load EEPROM
character table to RAM
define user
programmable character
save communication
mode to EEPROM
page 2 of 4