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!

Files at this revision

API Documentation at this revision

Comitter:
Pokitto
Date:
Tue May 01 18:58:31 2018 +0000
Parent:
43:6183b12dd99c
Child:
45:bbfc6002118c
Commit message:
fixed timeout

Changed in this revision

POKITTO_CORE/PokittoCore.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/POKITTO_CORE/PokittoCore.cpp	Tue May 01 18:42:56 2018 +0000
+++ b/POKITTO_CORE/PokittoCore.cpp	Tue May 01 18:58:31 2018 +0000
@@ -477,7 +477,7 @@
     if (vol>VOLUME_HEADPHONE_MAX) sound.setMaxVol(VOLUME_SPEAKER_MAX);
     else sound.setMaxVol(VOLUME_HEADPHONE_MAX);
     #ifdef PRODUCTIONTESTING
-    vol=255;
+    vol=240;
     sound.setMaxVol(VOLUME_SPEAKER_MAX);
     #endif
     for (uint8_t t=0;t<=vol;t++) {
@@ -648,6 +648,7 @@
 	setVolLimit();
 	display.clear();
 	display.update();
+
 	while(buttons.states[BTN_A])
     {
         buttons.update();
@@ -1361,4 +1362,3 @@
 
 
 
-