Skip to content

Commit

Permalink
Merge pull request #1418 from swampdogmash/patch-3
Browse files Browse the repository at this point in the history
Clarify info in displays.md
  • Loading branch information
gemu2015 authored Nov 5, 2024
2 parents e015e0a + 9bda8f7 commit 2af1dd7
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions docs/Displays.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ In the list below `p` stands for parameter and may be a number from 1 to n digit
On monochrome graphic displays things are drawn into a local frame buffer and sent to the display either
via the `d` command or automatically at the end of the command.

Co-ordinates are mapped from 0,0 (x,y) at the top left of the logical display, where x is the horizontal axis incrementing
right and y is the vertical axes incrementing down. How the logical display is physically displayed (rotated) on screen can be adjusted on some
displays using the `DisplayRotate` command.

### Positioning

`lp` = sets a character line to print at (on LCD display `p` = {0…}, on TFT display `p` = {1…})
Expand All @@ -74,13 +78,13 @@ and either x or x for the horizontal position. Neither x nor y are advanced/upda

`hp` = draws a horizontal line with length `p` (x is advanced)
`vp` = draws a vertical line with length `p` (y is advanced)
`Lp:p` = draws a line top:`p` (x,y are advanced)
`Lp:p` = draws a line to destination `p:p` (x,y are advanced)
`kp` = draws a circle with radius `p`
`Kp` = draws a filled circle with radius `p`
`rp:p` = draws a rectangle with `p` with and `p` height
`Rp:p` = draws a filled rectangle with `p` with and `p` height
`up:p:p` = draws a rounded rectangle with `p` with, `p` height and `p` radius v
`Up:p:p` = draws a filled rounded rectangle with `p` with, `p` height and `p` radius
`rp:p` = draws a rectangle with `p` width and `p` height
`Rp:p` = draws a filled rectangle with `p` width and `p` height
`up:p:p` = draws a rounded rectangle with `p` width, `p` height and `p` radius v
`Up:p:p` = draws a filled rounded rectangle with `p` width, `p` height and `p` radius

### Miscellaneous

Expand Down

0 comments on commit 2af1dd7

Please sign in to comment.