B&B Electronics 485T Uživatelský manuál Strana 20

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 44
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 19
Owners Manual
2800 Series Marquee
2.4 Tutorial #1, Displaying “Hello World” on the Marquee
This tutorial assumes that the marquee has just been powered on and you have Magic installed and configured.
It also assumes that the marquee is assigned address of [A] or 41h. If this is not the case, you will need to
modify the commands for the assigned address, as directed in section 2.3 of this manual.
It is traditional for programming books to begin with the canonical “Hello World” example, and this tutorial will be
no different. Use Magic to send the following text entry command to the marquee:
Address Header Entry
Start
Message Text Literal Entry
End
CTRL-B A ESC H e l l o SPACE W o r l d CTRL-E
02h 41h 1Bh 48h 65h 6Ch 6Ch 6Fh 20h 57h 6Fh 72h 6Ch 64h 05h
To send the command diagrammed above, start Magic and type the following into the blue terminal emulation
area, don't forget to modify the address header if your marquee is not assigned an address of [A], 41h:
[Control-B][A]
[Escape]
[H][e][l][l][o][Space][W][o][r][l][d]
[Control-E]
NOTE: The notation [Control-B] means to use your PC keyboard to type a control B character. You type the
control B character by pressing and holding the control key. Then with the control key still held down, press and
release the B key. After pressing and releasing the B key, you may release the control key. There is no need to
press the shift key. Control characters do not have case.
The address header section gets the attention of the marquee this command is directed towards. The entry start
section tells the marquee to prepare for message text entry. The message text literal section literally is the text of
the message. The entry end section tells the marquee that we are done entering message text.
After typing the above command, the marquee will display the message “Hello World”, in 4” tall text.
Try several variations on the command by changing the message text literal section. Be sure to experiment with
short messages that print left justified on the marquee and long messages that activate automatic truncation or
horizontal scrolling behavior. (See section 1.15 for details on truncations/scrolling)
Page 16 PB-2149-335B
Zobrazit stránku 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 43 44

Komentáře k této Příručce

Žádné komentáře