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.
Fork of seoul-iot-hackathon-demo by
Revision 9:179e6db867bd, committed 2017-10-13
- Comitter:
- sarahmarshy
- Date:
- Fri Oct 13 18:31:31 2017 +0000
- Parent:
- 8:a33c688b7139
- Commit message:
- Added button macro
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Oct 10 21:02:09 2017 +0000 +++ b/main.cpp Fri Oct 13 18:31:31 2017 +0000 @@ -13,6 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +#if defined(TARGET_K64F) +#define BUTTON SW2 +#else +#define BUTTON SW0 +#endif #if APP_SHIELD_DEMO == 1 #include "1_app_shield/main.h"