wei zou
/
Template_HelloWorld
this is a repository for those components which do not need hello world test code or libraries.
Revision 0:9e75c35ba463, committed 2014-02-18
- Comitter:
- lawliet
- Date:
- Tue Feb 18 06:55:13 2014 +0000
- Commit message:
- Initial Version
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
diff -r 000000000000 -r 9e75c35ba463 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue Feb 18 06:55:13 2014 +0000 @@ -0,0 +1,32 @@ +/* + main.cpp + 2014 Copyright (c) Seeed Technology Inc. All right reserved. + + Author:lawliet zou(lawliet.zou@gmail.com) + 2014-02-18 + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ +#include "mbed.h" + +int main(void) +{ +/* this is an empty code. For some reason, you have to + * build repositories of HelloWorld & Library to create + * a new component, but sometimes these are in no need + * for some components such as Seeed Energy Shield. + */ + return 0; +} \ No newline at end of file
diff -r 000000000000 -r 9e75c35ba463 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Tue Feb 18 06:55:13 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/869cf507173a \ No newline at end of file