PlaySFX (sound effect from Flash) example

Dependencies:   PokittoLib

Revision:
19:64f88ef5ef07
Parent:
18:b5f252ba0083
--- a/main.cpp	Thu Apr 04 17:09:07 2019 +0000
+++ b/main.cpp	Fri Apr 05 11:18:51 2019 +0000
@@ -17,7 +17,14 @@
                 Sound::playSFX(sfx_3_jump, sfx_3_jump_length);
                 Display::bgcolor++;
             }
-            Display::clear();
+            if(Buttons::aBtn()){
+                Display::print(1,1,"A");
+            }
+            if(Buttons::bBtn()){
+                Sound::playSFX(sfx_3_jump, sfx_3_jump_length);
+                Display::print(1,1,"B");
+            }
+            //Display::clear();
         }
     }
     return 0;