From a9bc21312353cc41e443db78e422d178d9479dbb Mon Sep 17 00:00:00 2001 From: Frater Date: Fri, 9 Oct 2020 00:06:07 +0200 Subject: [PATCH] Update CommandSet.MD --- CommandSet.MD | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/CommandSet.MD b/CommandSet.MD index 601e17e..476fa5f 100644 --- a/CommandSet.MD +++ b/CommandSet.MD @@ -1,24 +1,24 @@ -All commands are _Escaped_ with hex 1b. +All commands are _Escaped_ with hex 0x1b, and are quiet comprehensive... +according to the CP's drivers each command bloc was followed by an `usleep(1000);` function - -| Commands | write size | Test in G500 | Find In Tap | Descr | -| ------ | ------ | ------ | ------ | -|0x1B 0x40 | 2 | YES | | Display Init | -|0x1B 0x42 0n | 3 |YES | YES |Back Light ? (1..7) ? | -|0x1B 0x47 [1024 bytes]| 1026 | YES | YES | Upload Picture (1) | -|0x1B 0x12 | 2 | | | Vertical scroll mode | -|0x1B 0x13 | 2 | | | Horizontal Scroll mode | -|0x1B 0x5B 0x41 | 3 | YES | | Move Cursor Up| -|0x1B 0x5B 0x42 | 3 | YES | | Move Cursor Down| -|0x1B 0x5B 0x43 | 3 | YES | | Move Cursor Right| -|0x1B 0x5B 0x44 | 3 | YES | | Move Cursor Left| -|0x1B 0x5B 0x48 | 3 | | | Move Cursor Home| -|0x1B 0x5B 0x4B | 3 | | | Move Cursor Bottom position ?| -|0x1B 0x5B 0x4C | 3 | | | Move Cursor Left Most position ?| -|0x1B 0x5B 0x52 | 3 | | | Move Cursor Right Most position ?| -|0x1B 0x5F 0x0n | 3 | | | Hide Cursor on/off (1/0)| -|0x1B 0x72 0x0n | 3 | YES | | Inverted character [n 0:OFF 1:ON]| -|0x1B 0x50 nn | 3 | YES | | Show Graphics Page nn | +| Commands | ASCII Cmd | write size | Test in G500 | Find In Tap | Descr | +| ------ | ----- | ----- | ------ | ------ | ------ | +|0x1B 0x40 | `ESC` @ | 2 | YES | | Display Init | +|0x1B 0x42 0n | `ESC` B _n_ | 3 |YES | YES | Back Light State (0..???) ? | +|0x1B 0x47 [1024 bytes]| `ESC` G ... | 1026 | YES | YES | Upload Picture (1) | +|0x1B 0x12 | `ESC` n/a | 2 | | | Vertical scroll mode | +|0x1B 0x13 | `ESC` n/a | 2 | | | Horizontal Scroll mode | +|0x1B 0x5B 0x41 | `ESC` [ A | 3 | YES | | Move Cursor Up| +|0x1B 0x5B 0x42 | `ESC` [ B | 3 | YES | | Move Cursor Down| +|0x1B 0x5B 0x43 | `ESC` [ C | 3 | YES | | Move Cursor Right| +|0x1B 0x5B 0x44 | `ESC` [ D | 3 | YES | | Move Cursor Left| +|0x1B 0x5B 0x48 | `ESC` [ H | 3 | | | Move Cursor Home| +|0x1B 0x5B 0x4B | `ESC` [ K | 3 | | | Move Cursor Bottom position ?| +|0x1B 0x5B 0x4C | `ESC` [ L | 3 | | | Move Cursor Left Most position ?| +|0x1B 0x5B 0x52 | `ESC` [ R | 3 | | | Move Cursor Right Most position ?| +|0x1B 0x5F 0x0n | `ESC` _ _n_ | 3 | | | Hide Cursor on/off (1/0)| +|0x1B 0x72 0x0n | `ESC` r *n* | 3 | YES | | Inverted character [n 0:OFF 1:ON]| +|0x1B 0x50 nn | `ESC` P _n_ | 3 | YES | | Show Graphics Page nn | (1) : picture are 128x64 pixels, encoded 1 pixel per bits \ No newline at end of file