Jonne Valola / PokittoLib Featured

Dependents:   YATTT sd_map_test cPong SnowDemo ... more

PokittoLib

Library for programming Pokitto hardware

How to Use

  1. Import this library to online compiler (see button "import" on the right hand side
  2. DO NOT import mbed-src anymore, a better version is now included inside PokittoLib
  3. Change My_settings.h according to your project
  4. Start coding!
Revision:
6:72f87b7c7400
Parent:
0:e8b8f36b4505
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/POKITTO_CORE/PALETTES/palZXSpec.cpp	Wed Oct 11 20:35:52 2017 +0000
@@ -0,0 +1,24 @@
+#include "PokittoPalettes.h"
+
+const unsigned char paletteZXSpec[48] = {
+0x00,0x00,0x00, //black
+0x1C,0x1C,0x1C, //  ANOTHER BLACK - POINTLESS.  IVE MADE A VERY DARK GREY INSTEAD.
+0x00,0x00,0xC0, //blue d
+0x00,0x00,0xFF, //blue l
+
+0xC0,0x00,0x00, // red d
+0xFF,0x00,0x00, // red l
+0xC0,0x00,0xC0, // magenta d
+0xFF,0x00,0xFF, // magenta l
+
+0x00,0xC0,0x00, // green d
+0x00,0xFF,0x00, // green l
+0x00,0xC0,0xC0, // cyan d
+0x00,0xFF,0xFF, // cyan l
+
+0xC0,0xC0,0x00, // yellow d
+0xFF,0xFF,0x00, // yellow l
+0xC0,0xC0,0xC0, // grey
+0xFF,0xFF,0xFF  // white
+};
+