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 BLE_BatteryLevel by
main.cpp@16:abab51f6db64, 2015-01-13 (annotated)
- Committer:
- Enob
- Date:
- Tue Jan 13 07:32:48 2015 +0000
- Revision:
- 16:abab51f6db64
- Parent:
- 15:60e095fe4b45
initial commit
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Rohit Grover |
4:5b64235d1b85 | 1 | /* mbed Microcontroller Library |
| rgrover1 | 14:4024aa3f72b0 | 2 | * Copyright (c) 2006-2014 ARM Limited |
| Rohit Grover |
4:5b64235d1b85 | 3 | * |
| Rohit Grover |
4:5b64235d1b85 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| Rohit Grover |
4:5b64235d1b85 | 5 | * you may not use this file except in compliance with the License. |
| Rohit Grover |
4:5b64235d1b85 | 6 | * You may obtain a copy of the License at |
| Rohit Grover |
4:5b64235d1b85 | 7 | * |
| Rohit Grover |
4:5b64235d1b85 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| Rohit Grover |
4:5b64235d1b85 | 9 | * |
| Rohit Grover |
4:5b64235d1b85 | 10 | * Unless required by applicable law or agreed to in writing, software |
| Rohit Grover |
4:5b64235d1b85 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| Rohit Grover |
4:5b64235d1b85 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| Rohit Grover |
4:5b64235d1b85 | 13 | * See the License for the specific language governing permissions and |
| Rohit Grover |
4:5b64235d1b85 | 14 | * limitations under the License. |
| Rohit Grover |
4:5b64235d1b85 | 15 | */ |
| Rohit Grover |
4:5b64235d1b85 | 16 | |
| Rohit Grover |
4:5b64235d1b85 | 17 | #include "mbed.h" |
| Rohit Grover |
4:5b64235d1b85 | 18 | |
| Enob | 16:abab51f6db64 | 19 | volatile uint8_t* heap_tester; |
| Rohit Grover |
4:5b64235d1b85 | 20 | |
| Rohit Grover |
4:5b64235d1b85 | 21 | int main(void) |
| Rohit Grover |
4:5b64235d1b85 | 22 | { |
| Enob | 16:abab51f6db64 | 23 | while(true) |
| Enob | 16:abab51f6db64 | 24 | { |
| Enob | 16:abab51f6db64 | 25 | heap_tester = new uint8_t; |
| Enob | 16:abab51f6db64 | 26 | } |
| Enob | 16:abab51f6db64 | 27 | } |
