virgini García Antolín
/
Example_Puck_BLE
EXAMPLE_LED1
main.cpp@0:7dfdd3ae4bd4, 2015-04-14 (annotated)
- Committer:
- vikunga
- Date:
- Tue Apr 14 08:50:58 2015 +0000
- Revision:
- 0:7dfdd3ae4bd4
- Child:
- 2:fd3993499377
added led1;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
vikunga | 0:7dfdd3ae4bd4 | 1 | /** |
vikunga | 0:7dfdd3ae4bd4 | 2 | * Copyright 2014 Nordic Semiconductor |
vikunga | 0:7dfdd3ae4bd4 | 3 | * |
vikunga | 0:7dfdd3ae4bd4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
vikunga | 0:7dfdd3ae4bd4 | 5 | * you may not use this file except in compliance with the License. |
vikunga | 0:7dfdd3ae4bd4 | 6 | * You may obtain a copy of the License at |
vikunga | 0:7dfdd3ae4bd4 | 7 | * |
vikunga | 0:7dfdd3ae4bd4 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
vikunga | 0:7dfdd3ae4bd4 | 9 | * |
vikunga | 0:7dfdd3ae4bd4 | 10 | * Unless required by applicable law or agreed to in writing, software |
vikunga | 0:7dfdd3ae4bd4 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
vikunga | 0:7dfdd3ae4bd4 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
vikunga | 0:7dfdd3ae4bd4 | 13 | * See the License for the specific language governing permissions and |
vikunga | 0:7dfdd3ae4bd4 | 14 | * limitations under the License |
vikunga | 0:7dfdd3ae4bd4 | 15 | */ |
vikunga | 0:7dfdd3ae4bd4 | 16 | #include "mbed.h" |
vikunga | 0:7dfdd3ae4bd4 | 17 | //#define LOG_LEVEL_INFO |
vikunga | 0:7dfdd3ae4bd4 | 18 | DigitalOut myled(LED1); |
vikunga | 0:7dfdd3ae4bd4 | 19 | int main(){ |
vikunga | 0:7dfdd3ae4bd4 | 20 | myled=1; |
vikunga | 0:7dfdd3ae4bd4 | 21 | } |