Copyright © Parallax Inc. Parallax Serial LCDs (#27976, 27977, 27979) v3.1 3/11/2013 Page 7 of 11
Set Scale
The “set scale” commands (Dec 215 to 219) determines the octave each note will play in. This value
remains the same until another “set scale” command is received. The current octave can be set to a
value between 3 and 7, and each octave consists of 12 notes. The frequency for each note and scale
combination is shown in the table below.
Scale A A# B C C# D D# E F F# G G#
3 220 233 247 262 277 294 311 330 349 370 392 415
4 440 466 494 523 554 587 622 659 698 740 784 831
5 880 932 988 1047 1109 1175 1245 1319 1397 1480 1568 1661
6 1760 1865 1976 2093 2217 2349 2489 2637 2794 2960 3136 3322
7 3520 3729 3951 4186 4435 4699 4978 5274 5588 5920 6272 6645
Play Note
The “play note” commands (Dec 220 to 232) play a single note for the currently set time and in the
currently set octave.
Command Set
The tables on the following pages list all of the valid Serial LCD commands. Commands marked as N/A
are invalid and are ignored. The lines of the LCD display are numbered starting from 0, with line 0 being
the top line. The character positions on each line are numbered starting from 0, with position 0 being the
leftmost position on the line.
Dec Hex Action
0 00 Display custom character 0
1 01 Display custom character 1
2 02 Display custom character 2
3 03 Display custom character 3
4 04 Display custom character 4
5 05 Display custom character 5
6 06 Display custom character 6
7 07 Display custom character 7
8 08
Backspace / Left - The cursor is moved one position to the left. The
command doesn’t erase the character.
9 09
Right - The cursor is moved one position to the right. The
command doesn’t erase the character.
10 0A
Line Feed - The cursor is moved down one line. For the two line
LCD model, if on line 0 it goes to line 1. If on line 1, it wraps
around to line 0. The horizontal position remains the same.
Dec Hex Action
11 0B N/A
12 0C
Form Feed - The cursor is moved to position 0 on line 0 and the
entire display is cleared. Users must pause 5mS after this
command.
13 0D
Carriage Return – For the two line LCD model, if on line 0 the cursor
is moved to position 0 on line 1. If on line 1, it wraps around to
position 0 on line 0.
14 - 16 0E - 10 N/A
17 11 Turn backlight on (only on models 27977, 27979)
Copyright © Parallax Inc. Parallax Serial LCDs (#27976, 27977, 27979) v3.1 3/11/2013 Page 8 of 11
Dec Hex Action
18 12 Turn backlight off (Default)
19 - 20 13 - 14 N/A
21 15 Turn the display off
22 16 Turn the display on, with cursor off and no blink
23 17 Turn the display on, with cursor off and character blink
24 18 Turn the display on, with cursor on and no blink (Default)
25 19 Turn the display on, with cursor on and character blink
26 - 31 1A - 1F N/A
32 - 127 20 - 7F Display ASCII characters. See the ASCII character set table.
128 80 Move cursor to line 0, position 0
129 81 Move cursor to line 0, position 1
130 82 Move cursor to line 0, position 2
131 83 Move cursor to line 0, position 3
132 84 Move cursor to line 0, position 4
133 85 Move cursor to line 0, position 5
134 86 Move cursor to line 0, position 6
135 87 Move cursor to line 0, position 7
136 88 Move cursor to line 0, position 8
137 89 Move cursor to line 0, position 9
138 8A Move cursor to line 0, position 10
139 8B Move cursor to line 0, position 11
140 8C Move cursor to line 0, position 12
141 8D Move cursor to line 0, position 13
142 8E Move cursor to line 0, position 14
143 8F Move cursor to line 0, position 15
144 90 Move cursor to line 0, position 16 (only on model 27979)
145 91 Move cursor to line 0, position 17 (only on model 27979)
146 92 Move cursor to line 0, position 18 (only on model 27979)
147 93 Move cursor to line 0, position 19 (only on model 27979)
148 94 Move cursor to line 1, position 0
149 95 Move cursor to line 1, position 1
150 96 Move cursor to line 1, position 2
151 97 Move cursor to line 1, position 3
152 98 Move cursor to line 1, position 4
153 99 Move cursor to line 1, position 5
154 9A Move cursor to line 1, position 6
155 9B Move cursor to line 1, position 7
156 9C Move cursor to line 1, position 8
Dec Hex Action
157 9D Move cursor to line 1, position 9
158 9E Move cursor to line 1, position 10
159 9F Move cursor to line 1, position 11
160 A0 Move cursor to line 1, position 12
161 A1 Move cursor to line 1, position 13
162 A2 Move cursor to line 1, position 14
163 A3 Move cursor to line 1, position 15
Copyright © Parallax Inc. Parallax Serial LCDs (#27976, 27977, 27979) v3.1 3/11/2013 Page 9 of 11
Dec Hex Action
164 A4 Move cursor to line 1, position 16 (only on model 27979)
165 A5 Move cursor to line 1, position 17 (only on model 27979)
166 A6 Move cursor to line 1, position 18 (only on model 27979)
167 A7 Move cursor to line 1, position 19 (only on model 27979)
168 A8 Move cursor to line 2, position 0 (only on model 27979)
169 A9 Move cursor to line 2, position 1 (only on model 27979)
170 AA Move cursor to line 2, position 2 (only on model 27979)
171 AB Move cursor to line 2, position 3 (only on model 27979)
172 AC Move cursor to line 2, position 4 (only on model 27979)
173 AD Move cursor to line 2, position 5 (only on model 27979)
174 AE Move cursor to line 2, position 6 (only on model 27979)
175 AF Move cursor to line 2, position 7 (only on model 27979)
176 B0 Move cursor to line 2, position 8 (only on model 27979)
177 B1 Move cursor to line 2, position 9 (only on model 27979)
178 B2 Move cursor to line 2, position 10 (only on model 27979)
179 B3 Move cursor to line 2, position 11 (only on model 27979)
180 B4 Move cursor to line 2, position 12 (only on model 27979)
181 B5 Move cursor to line 2, position 13 (only on model 27979)
182 B6 Move cursor to line 2, position 14 (only on model 27979)
183 B7 Move cursor to line 2, position 15 (only on model 27979)
184 B8 Move cursor to line 2, position 16 (only on model 27979)
185 B9 Move cursor to line 2, position 17 (only on model 27979)
186 BA Move cursor to line 2, position 18 (only on model 27979)
187 BB Move cursor to line 2, position 19 (only on model 27979)
188 BC Move cursor to line 3, position 0 (only on model 27979)
189 BD Move cursor to line 3, position 1 (only on model 27979)
190 BE Move cursor to line 3, position 2 (only on model 27979)
191 BF Move cursor to line 3, position 3 (only on model 27979)
192 C0 Move cursor to line 3, position 4 (only on model 27979)
193 C1 Move cursor to line 3, position 5 (only on model 27979)
194 C2 Move cursor to line 3, position 6 (only on model 27979)
195 C3 Move cursor to line 3, position 7 (only on model 27979)
196 C4 Move cursor to line 3, position 8 (only on model 27979)
197 C5 Move cursor to line 3, position 9 (only on model 27979)
198 C6 Move cursor to line 3, position 10 (only on model 27979)
199 C7 Move cursor to line 3, position 11 (only on model 27979)
200 C8 Move cursor to line 3, position 12 (only on model 27979)
201 C9 Move cursor to line 3, position 13 (only on model 27979)
202 CA Move cursor to line 3, position 14 (only on model 27979)
Dec Hex Action
203 CB Move cursor to line 3, position 15 (only on model 27979)
204 CC Move cursor to line 3, position 16 (only on model 27979)
205 CD Move cursor to line 3, position 17 (only on model 27979)
206 CE Move cursor to line 3, position 18 (only on model 27979)
207 CF Move cursor to line 3, position 19 (only on model 27979)
208 D0 Set note length to 1/64 note

27976

Mfr. #:
Manufacturer:
Parallax
Description:
LCD Character Display Modules & Accessories 2x16 Serial LCD Non Backlit Version
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet