Skip to content

Commit

Permalink
Fixed table formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rsoric committed Aug 23, 2023
1 parent 2cf9546 commit 530a040
Showing 1 changed file with 34 additions and 34 deletions.
68 changes: 34 additions & 34 deletions source/arduino.rst
Original file line number Diff line number Diff line change
Expand Up @@ -943,23 +943,23 @@ Inkplate::drawImage();
| On Inkplate 6COLOR, dither will use all of the 7 colors.
| The default color values are:
|
| +-------+--------+
| | Color | Value |
| +=======+========+
| | Black | 0x000000 |
| +-------+--------+
| | White | 0xFFFFFF |
| +-------+--------+
| | Green | 0x00FF00 |
| +-------+--------+
| | Blue | 0x0000FF |
| +-------+--------+
| | Red | 0xFF0000 |
| +-------+--------+
| | Yellow| 0xFFFF00 |
| +-------+--------+
| | Orange| 0xFF8000 |
| +-------+--------+
+--------+----------+
| Color | Value |
+========+==========+
| Black | 0x000000 |
+--------+----------+
| White | 0xFFFFFF |
+--------+----------+
| Green | 0x00FF00 |
+--------+----------+
| Blue | 0x0000FF |
+--------+----------+
| Red | 0xFF0000 |
+--------+----------+
| Yellow | 0xFFFF00 |
+--------+----------+
| Orange | 0xFF8000 |
+--------+----------+
|
| If you want to change the color palette in which the image is dithered, check the file ``/src/include/ImageDitherColor.cpp`` in your library. It has a ``palette[]`` array where you can modify the color values in hex for a different look to the dithered image.
| The order of the colors is: [Black, White, Green, Blue, Red, Yellow, Orange]ˇ
Expand Down Expand Up @@ -1057,23 +1057,23 @@ Inkplate::drawBitmapFromWeb();
| On Inkplate 6COLOR, dither will use all of the 7 colors.
| The default color values are:
|
| +-------+--------+
| | Color | Value |
| +=======+========+
| | Black | 0x000000 |
| +-------+--------+
| | White | 0xFFFFFF |
| +-------+--------+
| | Green | 0x00FF00 |
| +-------+--------+
| | Blue | 0x0000FF |
| +-------+--------+
| | Red | 0xFF0000 |
| +-------+--------+
| | Yellow| 0xFFFF00 |
| +-------+--------+
| | Orange| 0xFF8000 |
| +-------+--------+
+--------+----------+
| Color | Value |
+========+==========+
| Black | 0x000000 |
+--------+----------+
| White | 0xFFFFFF |
+--------+----------+
| Green | 0x00FF00 |
+--------+----------+
| Blue | 0x0000FF |
+--------+----------+
| Red | 0xFF0000 |
+--------+----------+
| Yellow | 0xFFFF00 |
+--------+----------+
| Orange | 0xFF8000 |
+--------+----------+
|
| If you want to change the color palette in which the image is dithered, check the file ``/src/include/ImageDitherColor.cpp`` in your library. It has a ``palette[]`` array where you can modify the color values in hex for a different look to the dithered image.
| The order of the colors is: [Black, White, Green, Blue, Red, Yellow, Orange]
Expand Down

0 comments on commit 530a040

Please sign in to comment.