taeil kim
/
seoul-iot-hackathon-demo
Revision Commit
Fork of seoul-iot-hackathon-demo by
main.cpp
- Committer:
- sarahmarshy
- Date:
- 2017-10-13
- Revision:
- 9:179e6db867bd
- Parent:
- 5:c6cb16909244
File content as of revision 9:179e6db867bd:
/* * Copyright (c) 2016 ARM Limited. All rights reserved. * SPDX-License-Identifier: Apache-2.0 * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * 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" #elif APP_SHIELD_DEMO == 0 #include "2_connected_app/main.h" #else #error "Add APP_SHIELD_DEMO macro to mbed_app.json" #endif