Update CommandSet.MD
This commit is contained in:
parent
a9bc213123
commit
2b02d92e05
1 changed files with 9 additions and 3 deletions
|
|
@ -1,14 +1,17 @@
|
||||||
All commands are _Escaped_ with hex 0x1b, and are quiet comprehensive...
|
All commands are _Escaped_ with hex 0x1b, and are quiet comprehensive... except for very basic command
|
||||||
|
|
||||||
according to the CP's drivers each command bloc was followed by an `usleep(1000);` function
|
according to the CP's drivers each command bloc was followed by an `usleep(1000);` function...
|
||||||
|
|
||||||
| Commands | ASCII Cmd | write size | Test in G500 | Find In Tap | Descr |
|
| Commands | ASCII Cmd | write size | Test in G500 | Find In Tap | Descr |
|
||||||
| ------ | ----- | ----- | ------ | ------ | ------ |
|
| ------ | ----- | ----- | ------ | ------ | ------ |
|
||||||
|
|0x0C | n/a | 1 | YES | | clear Screen |
|
||||||
|
|0x0b | n/a | 1 | YES | | home Cursor |
|
||||||
|0x1B 0x40 | `ESC` @ | 2 | YES | | Display Init |
|
|0x1B 0x40 | `ESC` @ | 2 | YES | | Display Init |
|
||||||
|0x1B 0x42 0n | `ESC` B _n_ | 3 |YES | YES | Back Light State (0..???) ? |
|
|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 0x47 [1024 bytes]| `ESC` G ... | 1026 | YES | YES | Upload Picture (1) |
|
||||||
|0x1B 0x12 | `ESC` n/a | 2 | | | Vertical scroll mode |
|
|0x1B 0x12 | `ESC` n/a | 2 | | | Vertical scroll mode |
|
||||||
|0x1B 0x13 | `ESC` n/a | 2 | | | Horizontal Scroll mode |
|
|0x1B 0x13 | `ESC` n/a | 2 | | | Horizontal Scroll mode |
|
||||||
|
|0x1B 0x4C n | `ESC`L _n_ | 3 | YES | | LED Control (2) |
|
||||||
|0x1B 0x5B 0x41 | `ESC` [ A | 3 | YES | | Move Cursor Up|
|
|0x1B 0x5B 0x41 | `ESC` [ A | 3 | YES | | Move Cursor Up|
|
||||||
|0x1B 0x5B 0x42 | `ESC` [ B | 3 | YES | | Move Cursor Down|
|
|0x1B 0x5B 0x42 | `ESC` [ B | 3 | YES | | Move Cursor Down|
|
||||||
|0x1B 0x5B 0x43 | `ESC` [ C | 3 | YES | | Move Cursor Right|
|
|0x1B 0x5B 0x43 | `ESC` [ C | 3 | YES | | Move Cursor Right|
|
||||||
|
|
@ -21,4 +24,7 @@ according to the CP's drivers each command bloc was followed by an `usleep(1000)
|
||||||
|0x1B 0x72 0x0n | `ESC` r *n* | 3 | YES | | Inverted character [n 0:OFF 1:ON]|
|
|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 |
|
|0x1B 0x50 nn | `ESC` P _n_ | 3 | YES | | Show Graphics Page nn |
|
||||||
|
|
||||||
|
**Notes**
|
||||||
(1) : picture are 128x64 pixels, encoded 1 pixel per bits
|
(1) : picture are 128x64 pixels, encoded 1 pixel per bits
|
||||||
|
(2) : All led are controlled one by one ... more to come
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue