This is a simple demo on how to read Pokitto buttons

Dependencies:   PokittoLib

Reading Pokitto buttons demo

To try this program, simply press "Import into Compiler" button on top right of this page!

/media/uploads/Pokitto/buttontest.jpg

Committer:
Pokitto
Date:
Wed May 02 06:28:23 2018 +0000
Revision:
2:a953ac801b7d
Parent:
0:a9820274ca09
New pokittolib with improved volume controls & better button handling

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Pokitto 0:a9820274ca09 1 /* This is an example of how to set your own project settings
Pokitto 0:a9820274ca09 2
Pokitto 0:a9820274ca09 3 To use
Pokitto 0:a9820274ca09 4
Pokitto 0:a9820274ca09 5 1. make a copy of this file by pressing right mouse button on top of this file
Pokitto 0:a9820274ca09 6 in the mbed online compiler, then choose "Clone"
Pokitto 0:a9820274ca09 7
Pokitto 0:a9820274ca09 8 2. See that the copy is in the root of the project (where your main cpp files are), not inside the PokittoLib folder
Pokitto 0:a9820274ca09 9 Drag & drop to move if needed
Pokitto 0:a9820274ca09 10
Pokitto 0:a9820274ca09 11 3. rename the clone to "My_settings.h"
Pokitto 0:a9820274ca09 12
Pokitto 0:a9820274ca09 13 */
Pokitto 0:a9820274ca09 14
Pokitto 0:a9820274ca09 15 #define PROJ_HIRES 0
Pokitto 0:a9820274ca09 16 #define PROJ_ENABLE_SOUND 0