This project is intended to release you the basic Automatic Sliding Gate. This project is based on the NUCLEO-L152RE.
Diff: main.cpp
- Revision:
- 1:ab2cd6391528
- Parent:
- 0:b05cd2add81b
--- a/main.cpp Mon May 05 18:58:15 2014 +0000 +++ b/main.cpp Sat May 10 23:16:49 2014 +0000 @@ -1,10 +1,30 @@ #include "mbed.h" -// By www.emcu.it -// see also: -// http://www.emcu.it/NUCLEOevaBoards/Nucleo-L152RE-AutomaticSlidingGate/AutomSlidGate.html -// http://www.emcu.it/NUCLEOevaBoards/NUCLEOevaBoards.html -// +// By: www.emcu.it +// For more detailed; schematics, explanations, etc, see: +// http://www.emcu.it/NUCLEOevaBoards/Nucleo-L152RE-AutomaticSlidingGate/AutomSlidGate.html + +/* + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + + // Up to now the automatic closure start after 10sec. This because is not implemented the TbC. // Up to now the the following functions are not implemented: // AT (AntiTamper)