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!
Revision 44:2b8560b11eab, committed 2018-05-01
- 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 @@
-