Andy K
/
forums
Used to hold all my \"snippets\" I create in forum support.
main.cpp@0:98784e7c6163, 2011-02-10 (annotated)
- Committer:
- AjK
- Date:
- Thu Feb 10 11:20:12 2011 +0000
- Revision:
- 0:98784e7c6163
1.0 Initial release
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AjK | 0:98784e7c6163 | 1 | /* |
AjK | 0:98784e7c6163 | 2 | Copyright (c) 2011 Andy Kirkham |
AjK | 0:98784e7c6163 | 3 | |
AjK | 0:98784e7c6163 | 4 | Permission is hereby granted, free of charge, to any person obtaining a copy |
AjK | 0:98784e7c6163 | 5 | of this software and associated documentation files (the "Software"), to deal |
AjK | 0:98784e7c6163 | 6 | in the Software without restriction, including without limitation the rights |
AjK | 0:98784e7c6163 | 7 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
AjK | 0:98784e7c6163 | 8 | copies of the Software, and to permit persons to whom the Software is |
AjK | 0:98784e7c6163 | 9 | furnished to do so, subject to the following conditions: |
AjK | 0:98784e7c6163 | 10 | |
AjK | 0:98784e7c6163 | 11 | The above copyright notice and this permission notice shall be included in |
AjK | 0:98784e7c6163 | 12 | all copies or substantial portions of the Software. |
AjK | 0:98784e7c6163 | 13 | |
AjK | 0:98784e7c6163 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
AjK | 0:98784e7c6163 | 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
AjK | 0:98784e7c6163 | 16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
AjK | 0:98784e7c6163 | 17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
AjK | 0:98784e7c6163 | 18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
AjK | 0:98784e7c6163 | 19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
AjK | 0:98784e7c6163 | 20 | THE SOFTWARE. |
AjK | 0:98784e7c6163 | 21 | */ |
AjK | 0:98784e7c6163 | 22 | |
AjK | 0:98784e7c6163 | 23 | /* |
AjK | 0:98784e7c6163 | 24 | * I tend to do a lot of forum help and write sample code to demo how some |
AjK | 0:98784e7c6163 | 25 | * things can be done. So I dedcided to wrap up all teh demo code I do into |
AjK | 0:98784e7c6163 | 26 | * a project that people can look at. |
AjK | 0:98784e7c6163 | 27 | * |
AjK | 0:98784e7c6163 | 28 | * To use, uncomment the "forum post number" and compile. |
AjK | 0:98784e7c6163 | 29 | */ |
AjK | 0:98784e7c6163 | 30 | |
AjK | 0:98784e7c6163 | 31 | /** |
AjK | 0:98784e7c6163 | 32 | * @file main.cpp |
AjK | 0:98784e7c6163 | 33 | * A project to show demo code supporting forum posts. |
AjK | 0:98784e7c6163 | 34 | */ |
AjK | 0:98784e7c6163 | 35 | |
AjK | 0:98784e7c6163 | 36 | /** |
AjK | 0:98784e7c6163 | 37 | * To compile the code for Forum post 1828 |
AjK | 0:98784e7c6163 | 38 | * uncomment the #define and the #include. |
AjK | 0:98784e7c6163 | 39 | * Ensure all other #defines and #includes |
AjK | 0:98784e7c6163 | 40 | * are commentted out. You can only compile |
AjK | 0:98784e7c6163 | 41 | * one sample at a time. |
AjK | 0:98784e7c6163 | 42 | * |
AjK | 0:98784e7c6163 | 43 | * @see http://mbed.org/forum/mbed/topic/1828 |
AjK | 0:98784e7c6163 | 44 | * @see forum1828.cpp |
AjK | 0:98784e7c6163 | 45 | */ |
AjK | 0:98784e7c6163 | 46 | #define FORUM_1828 |
AjK | 0:98784e7c6163 | 47 | #include "forum1828/forum1828.cpp" |
AjK | 0:98784e7c6163 | 48 |