wei zou
/
Template_HelloWorld
this is a repository for those components which do not need hello world test code or libraries.
main.cpp@0:9e75c35ba463, 2014-02-18 (annotated)
- Committer:
- lawliet
- Date:
- Tue Feb 18 06:55:13 2014 +0000
- Revision:
- 0:9e75c35ba463
Initial Version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
lawliet | 0:9e75c35ba463 | 1 | /* |
lawliet | 0:9e75c35ba463 | 2 | main.cpp |
lawliet | 0:9e75c35ba463 | 3 | 2014 Copyright (c) Seeed Technology Inc. All right reserved. |
lawliet | 0:9e75c35ba463 | 4 | |
lawliet | 0:9e75c35ba463 | 5 | Author:lawliet zou(lawliet.zou@gmail.com) |
lawliet | 0:9e75c35ba463 | 6 | 2014-02-18 |
lawliet | 0:9e75c35ba463 | 7 | |
lawliet | 0:9e75c35ba463 | 8 | This library is free software; you can redistribute it and/or |
lawliet | 0:9e75c35ba463 | 9 | modify it under the terms of the GNU Lesser General Public |
lawliet | 0:9e75c35ba463 | 10 | License as published by the Free Software Foundation; either |
lawliet | 0:9e75c35ba463 | 11 | version 2.1 of the License, or (at your option) any later version. |
lawliet | 0:9e75c35ba463 | 12 | |
lawliet | 0:9e75c35ba463 | 13 | This library is distributed in the hope that it will be useful, |
lawliet | 0:9e75c35ba463 | 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
lawliet | 0:9e75c35ba463 | 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
lawliet | 0:9e75c35ba463 | 16 | Lesser General Public License for more details. |
lawliet | 0:9e75c35ba463 | 17 | |
lawliet | 0:9e75c35ba463 | 18 | You should have received a copy of the GNU Lesser General Public |
lawliet | 0:9e75c35ba463 | 19 | License along with this library; if not, write to the Free Software |
lawliet | 0:9e75c35ba463 | 20 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
lawliet | 0:9e75c35ba463 | 21 | */ |
lawliet | 0:9e75c35ba463 | 22 | #include "mbed.h" |
lawliet | 0:9e75c35ba463 | 23 | |
lawliet | 0:9e75c35ba463 | 24 | int main(void) |
lawliet | 0:9e75c35ba463 | 25 | { |
lawliet | 0:9e75c35ba463 | 26 | /* this is an empty code. For some reason, you have to |
lawliet | 0:9e75c35ba463 | 27 | * build repositories of HelloWorld & Library to create |
lawliet | 0:9e75c35ba463 | 28 | * a new component, but sometimes these are in no need |
lawliet | 0:9e75c35ba463 | 29 | * for some components such as Seeed Energy Shield. |
lawliet | 0:9e75c35ba463 | 30 | */ |
lawliet | 0:9e75c35ba463 | 31 | return 0; |
lawliet | 0:9e75c35ba463 | 32 | } |