Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Pokitto by
POKITTO_CORE/PALETTES/palCGA.cpp@11:02ad9c807a21, 2017-10-15 (annotated)
- Committer:
- spinal
- Date:
- Sun Oct 15 18:03:02 2017 +0000
- Revision:
- 11:02ad9c807a21
- Parent:
- 0:e8b8f36b4505
fixed 4color refreshRegion code
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Pokitto | 0:e8b8f36b4505 | 1 | #include "PokittoPalettes.h" |
Pokitto | 0:e8b8f36b4505 | 2 | |
Pokitto | 0:e8b8f36b4505 | 3 | const unsigned char paletteCGA[48] = { |
Pokitto | 0:e8b8f36b4505 | 4 | 0x00,0x00,0x00, //black |
Pokitto | 0:e8b8f36b4505 | 5 | 0xFF,0xFF,0xFF, //white |
Pokitto | 0:e8b8f36b4505 | 6 | 0xff,0x00,0xff, //magenta |
Pokitto | 0:e8b8f36b4505 | 7 | 0x00,0xFF,0xFF, //cyan |
Pokitto | 0:e8b8f36b4505 | 8 | |
Pokitto | 0:e8b8f36b4505 | 9 | 0xFF,0xFF,0x00, //yellow |
Pokitto | 0:e8b8f36b4505 | 10 | 0x00,0xFF,0x00, //green |
Pokitto | 0:e8b8f36b4505 | 11 | 0x00,0x00,0xFF, //blue |
Pokitto | 0:e8b8f36b4505 | 12 | 0xFF,0x00,0x00, //red |
Pokitto | 0:e8b8f36b4505 | 13 | |
Pokitto | 0:e8b8f36b4505 | 14 | 0x3F,0x3F,0x3F, //dark gray |
Pokitto | 0:e8b8f36b4505 | 15 | 0x7F,0x7F,0x7F, //light gray |
Pokitto | 0:e8b8f36b4505 | 16 | 0x7F,0x00,0x7F, //violet (dark magenta) |
Pokitto | 0:e8b8f36b4505 | 17 | 0x00,0x7F,0x7F, //teal (dark cyan) |
Pokitto | 0:e8b8f36b4505 | 18 | |
Pokitto | 0:e8b8f36b4505 | 19 | 0x7F,0x3F,0x00, //brown |
Pokitto | 0:e8b8f36b4505 | 20 | 0x00,0x7F,0x00, //dark green |
Pokitto | 0:e8b8f36b4505 | 21 | 0x00,0x00,0x7F, //dark blue |
Pokitto | 0:e8b8f36b4505 | 22 | 0x7F,0x00,0x00 //dark red |
Pokitto | 0:e8b8f36b4505 | 23 | }; |
Pokitto | 0:e8b8f36b4505 | 24 |