PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)

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:
2:968589ca3484
Parent:
0:e8b8f36b4505
--- a/POKITTO_HW/PokittoEEPROM.h	Mon Sep 18 12:34:05 2017 +0000
+++ b/POKITTO_HW/PokittoEEPROM.h	Tue Sep 19 08:47:36 2017 +0000
@@ -39,7 +39,7 @@
 
     //Access/read members.
     uint8_t operator*() const            { return eeprom_read_byte( (uint8_t*) index ); }
-    operator const uint8_t() const       { return **this; }
+    operator uint8_t() const       { return **this; }
 
     //Assignment/write members.
     EERef &operator=( const EERef &ref ) { return *this = *ref; }
@@ -88,7 +88,7 @@
     EEPtr( const int index )
         : index( index )                {}
 
-    operator const int() const          { return index; }
+    operator int() const          { return index; }
     EEPtr &operator=( int in )          { return index = in, *this; }
 
     //Iterator functionality.