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!
Diff: POKITTO_CORE/PokittoCore.cpp
- 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();