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:
50:ca94812a17b6
Parent:
49:74201663ba8b
diff -r 74201663ba8b -r ca94812a17b6 POKITTO_CORE/PokittoCore.cpp
--- a/POKITTO_CORE/PokittoCore.cpp	Mon May 21 18:43:08 2018 +0000
+++ b/POKITTO_CORE/PokittoCore.cpp	Wed Jun 27 13:14:54 2018 +0000
@@ -381,7 +381,7 @@
     //read countdown time from settings
     countd = eeprom_read_byte((uint16_t*)EESETTINGS_LOADERWAIT);
     #endif
-    if (countd==0 || countd > 5) countd=3;
+    if (countd<=0 || countd > 5) countd=3;
     uint16_t c2 = getTime();
     while (countd) {
         buttons.pollButtons();