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.
Dependents: YATTT sd_map_test cPong SnowDemo ... more
PokittoLib
Library for programming Pokitto hardware
How to Use
- Import this library to online compiler (see button "import" on the right hand side
- DO NOT import mbed-src anymore, a better version is now included inside PokittoLib
- Change My_settings.h according to your project
- Start coding!
POKITTO_CORE/PALETTES/palZXSpec.cpp@6:72f87b7c7400, 2017-10-11 (annotated)
- Committer:
- Pokitto
- Date:
- Wed Oct 11 20:35:52 2017 +0000
- Revision:
- 6:72f87b7c7400
- Parent:
- 0:e8b8f36b4505
Fixed PokittoLib to fully working. Includes mbed-src
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 paletteZXSpec[48] = { |
Pokitto | 0:e8b8f36b4505 | 4 | 0x00,0x00,0x00, //black |
Pokitto | 0:e8b8f36b4505 | 5 | 0x1C,0x1C,0x1C, // ANOTHER BLACK - POINTLESS. IVE MADE A VERY DARK GREY INSTEAD. |
Pokitto | 0:e8b8f36b4505 | 6 | 0x00,0x00,0xC0, //blue d |
Pokitto | 0:e8b8f36b4505 | 7 | 0x00,0x00,0xFF, //blue l |
Pokitto | 0:e8b8f36b4505 | 8 | |
Pokitto | 0:e8b8f36b4505 | 9 | 0xC0,0x00,0x00, // red d |
Pokitto | 0:e8b8f36b4505 | 10 | 0xFF,0x00,0x00, // red l |
Pokitto | 0:e8b8f36b4505 | 11 | 0xC0,0x00,0xC0, // magenta d |
Pokitto | 0:e8b8f36b4505 | 12 | 0xFF,0x00,0xFF, // magenta l |
Pokitto | 0:e8b8f36b4505 | 13 | |
Pokitto | 0:e8b8f36b4505 | 14 | 0x00,0xC0,0x00, // green d |
Pokitto | 0:e8b8f36b4505 | 15 | 0x00,0xFF,0x00, // green l |
Pokitto | 0:e8b8f36b4505 | 16 | 0x00,0xC0,0xC0, // cyan d |
Pokitto | 0:e8b8f36b4505 | 17 | 0x00,0xFF,0xFF, // cyan l |
Pokitto | 0:e8b8f36b4505 | 18 | |
Pokitto | 0:e8b8f36b4505 | 19 | 0xC0,0xC0,0x00, // yellow d |
Pokitto | 0:e8b8f36b4505 | 20 | 0xFF,0xFF,0x00, // yellow l |
Pokitto | 0:e8b8f36b4505 | 21 | 0xC0,0xC0,0xC0, // grey |
Pokitto | 0:e8b8f36b4505 | 22 | 0xFF,0xFF,0xFF // white |
Pokitto | 0:e8b8f36b4505 | 23 | }; |
Pokitto | 0:e8b8f36b4505 | 24 |