Prolite Protokol

Pro-Lite PL-M2014R RS-232 kommunikacio leirasa.
(2400,8,n,1)
linux:
stty opost -ocrnl onlcr -echo 2400 < /dev/ttyS0
echo "www.ticker.huwww.ticker.huwww.ticker.hu" >> /dev/ttyS0

A kijelzo egy utasitasa maximum 1,023 byte hosszu lehet, ez tartalmazza a vezerlo TAG-eket is.

Kijelzo cimzes

Minden kijelzonek van egy ID-ja. Ha tobb kijelzo van egy soros portra parhuzamosan kotve, akkor ezzel lehet megcimezni a megfelelo kijelzot. Az ID 1-255 kozotti szam. Alap allapotban minden kijelznek 1-es az ID-ja.

Protokol Struktura

<IDxx>
<IDxx>...SZOVEG/PARANCS... cr lf

<IDxx>A kijelzo megcimzese (alapbol: <ID01>)

IDaz "ID" (0x49,0x44) mindenkepp nagybetu
xx A kijelzo cime hexa cime ASCII-ban (00-FF).
    00 = osszes kijelzo
    01 = kijelzo 1
    02 = kijelzo 2
    ...
    0A = kijelzo 10
    ...
    10 = kijelzo 16
    ...
    FE = kijelzo 254
    FF = kijelzo 255

...SZOVEG/PARANCS...A csomag tartalma (szoveg, vagy parancs).
cr lfMinden csomagnak a vegen kell egy \r es egy \n
    cr = 0x0D
    lf = 0x0A

Szoveg megjelenitese

A szoveg tartalmazhat grafikakat es ekezetes karaktereket is kulonbozo szinekben es meretben, kulonbozo megjelenesi formaban.

<IDn>...UZENET...

    <IDn>a kijelzo kivalasztasa
    ...UZENET... A megjelenitendo uzenet, beleertve a szin, meret informaciokat es a kulonbozo megjelenitesi formakat.

Ekezetes karakterek

Az ekezetes karaktereket hasonloan a HTML tag-ekhez kell elkuldeni a kijelzonek.

<U#>É <UA>Ç <UB>Broken <UC>Broken <UD>O overlaid with ×
<UE>ü <UF>upsidedown V <UG>three bars <UH>pi <UI>ï
<UJ>sum <UK>¥ <UL>¢ <UM>Broken <UN>Broken
<UO>Ò <UP>Ù <UQ>ê <UR>û <US>two tall skiny F's
<UT>î <UU>Omega <UV>Broken <UW>ë <UX>Broken
<UY>ô <UZ>Broken
 
<U$>Ø <Ua>Ä <Ub>Broken <Uc>Broken <Ud>Ó
<Ue>Å <Uf>Í <Ug>Ú <Uh>Þ <Ui>similar to ç
<Uj>þ <Uk>Р<Ul>ð <Um>Broken <Un>Broken
<Uo>umlat G <Up>Ö <Uq>Æ <Ur>Ü <Us>á
<Ut>í <Uu>like ç but with S <Uv>Broken <Uw>ú <Ux>Broken
<Uy>ô <Uz>Broken
 
<U0>à <U1>¡ <U2>é <U3>È <U4>£
<U5>lower Psi <U6>upper Phi <U7>è <U8>ì <U9>ç
<U@>ê <U%>ø <U^>umlat Y <U&>ý <U*>å
<U(>ß <U)>bared ã <U->lower gamma <U+>á <U_>bar Ñ
<U=>â <U`>ó <U~>¤ <U!>æ <U{>bar ñ
<U}>upside down ? <U[>upper gamma <U]>upper delta <U:>ö <U">ä
<U:>ö <U">lower alpha <U:>null, no text <U'>ä <U'>ß
<U\>Not defined <U|>Not defined <U,>Not defined <U.>Not defined <U/>Not defined
<U?>Not defined

Grafikak

A kijelzo 26 atprogramozhato grafikat tartalmaz.
Az atprogramozott grafikak a kijelzo ujrainditasa utan elvesznek es az eredeti grafikakkal irodnak felul.

<BA>Telephone <BB>Glasses <BC>Tap <BD>Rocket <BE>Monster
<BF>Key <BG>Shirt <BH>Helicopter <BI>Car <BJ>Tank
<BK>House <BL>Teapot <BM>Knife & Fork <BN>Duck <BO>Motorcycle
<BP>Bicycle <BQ>Crown <BR>Sweet Heart <BS>Arrow Right <BT>Arrow Left
<BU>Arrow Down-Left <BV>Arrow Up-Left <BW>Mug of Beer <BX>Chair <BY>High-heeled Shoes
<BZ>Wine Glass

Szinek

A kijelzo 26 szin, illetve megjelenesi szin semat kezel.
<CA>Dim Red <CB>Red <CC>Bright Red
<CD>Orange <CE>Bright Orange <CF>Light Yellow
<CG>Yellow <CH>Bright Yellow <CI>Lime
<CJ>Dim Lime <CK>Bright Lime <CL>Bright Green
<CM>Green <CN>Dim Green <CO>Yellow/Green/Red
<CP>Rainbow (Default) <CQ>Red/Green 3D <CR>Red/Yellow 3D
<CS>Green/Red 3D <CT>Green/Yellow 3D <CU>Green on Red
<CV>Red on Green <CW>Orange on Green 3D <CX>Lime on Red 3D
<CY>Green on Red 3D <CZ>Red on Green 3D

Karakter meretek

<SA>Normal (Default) <SE>Flashing Normal
<SB>Bold (Wide) <SF>Flashing Bold (Wide)
<SC>Italic <SG>Flashing Italic
<SD>Bold Italic (Wide) <SH>Flashing Bold Italic (Wide)

Kijelzo funkciok

<FA>AUTO
Random color & presentation
 <FB>OPEN
<-- Open from Center -->
 <FC>COVER
<-- Covers Text -->
 <FD>APPEAR
Instantly replaces text
 <FE>CYCLING
Rolling Colors
<FF>CLOSE <--
Blank screen right to left
 <FG>CLOSE -->
Blank screen left to right
 <FH>CLOSE --><--
Blank screen outter to center
 <FI>SCROLL UP
Scroll up from bottom
 <FJ>SCROLL DOWN
Scroll down from top
<FK>OVERLAP
Two layers slide together to form text
 <FL>STACKING
Falling dots form text
 <FM>COMIC 1
PacMan
 <FN>COMIC 2
Random creature walking
 <FO>BEEP
Sign beeps
<FP>PAUSE
Short delay of motion
 <FQ>SLEEP
Blank screen until the next timer activates
 <FR>RANDOM
Random dots appear forming text
 <FS>SHIFT <--
Roll message right to left (Default)
 <FT>TIME/DATE
Show time and date, no choice of formatting
<FU>MAGIC
Change text color each time
 <FV>THANK YOU
Cursive "Thank you"
 <FW>WELCOME
Cursive "Welcome"
 <FX>SPEED 1
Jittery
 <FY>SPEED 2
<FZ>SPEED 3
Note:
AUTO, OPEN <-- -->, COVER <-- -->, APPEAR, CYCLING, SCROLL UP, SCROLL DOWN, RANDOM, es MAGIC egyszerre csak egy oldalt tud megjeleniteni, nem tudja gorgetni a szoveget.

Grafikak ujra programozasa

A kijelzo 26 (A-Z) a felhasznalo altal felulirhato grafikat kezel. A felulirasnak a modja a kovetkezo:

<Gn>...CCC...cr lf

    <Gn> = ASCII "<","G" & ">"

      n= A grafika sorszama (egy betu: A-Z)

    ...CCC... 126 byte szin es bit informacio

Egy grafika 18 oszlop szeles es 7 sor magas. Az osszes pontot ki kell tolteni, ez lehet: Piros (R), Sarga (Y), Zold (G) es Fekete (B).

Byte 1 ->
Byte 19 ->
Byte 37 ->
Byte 55 ->
Byte 73 ->
Byte 91 ->
Byte 109 ->
RRRRRRRRRRRRRRRRRR
YYYYYYYYYYYYYYYYYY
GGGGGGGGGGGGGGGGGG
RRRRRRBBBBBBBRRRRR
RRRRRRBBBBBBBRRRRR
RRRRRRRRRRRRRRRRRR
GGGGGYYYYYYYRRRRRR
RRRRRRRRRRRRRRRRRR
<-- Byte 18
<-- Byte 36
<-- Byte 54
<-- Byte 72
<-- Byte 90
<-- Byte 108
<-- Byte 126

Ez elozo kep az alabbi parancs elkuldesevel aktivalhato az ID01-es kijelzon a GA grafikakent:
    <ID01><GA>RRRRRRRRRRRRRRRRRRYYYYYYYYYYYYYYYYYYGGGGGGGGGGGGGGGGGG
    RRRRRRBBBBBBBRRRRRRRRRRRBBBBBBBRRRRRRRRRRRRRRRRRRRRRRRGGGGGYYYYYY
    YRRRRRRRRRRRRRRRRRRRRRRRRcr lf
    Ez a sor meg lett torve, mert tul keskeny a kepernyo, felvitelnel egyben kell elkuldeni!
Megjegyzes:
Ha tobb, mint 126 karakter erkezik a grafika felulirasara, akkor a parancs nem hajtodik vegre.

Examples

<ID01>cr lf Wake up unit 1
<ID01><PA>Hello World cr lf Display the words Hello World on unit 1
<ID00><Q+>cr lf
<ID00><Q->cr lf
Erase Trivia on all units
<ID00><FX>cr lf With no text, the display halts the scrolling


Note: Alec Bennet <wrybread at gmail dot com> claims that sending the sign a <IDxx><RST> command will set reset the sign.

    And by the way, a quick note on controlling the thing from a Windows command line:

    ECHO ^<ID01^>^<PA^> whatever message > COM1

Alec is the author of the Wrybread Utilities for the sign.


This page last updated