High Altitude Recovery Payload
HARP: High Altitude Recovery Payload
Information
Version 0.1: RC design

By connecting the second xbee to a computer using a terminal command and supplying the characters L, R, C, F the light patterns change on the mbed.
watchdog.h@2:d1b64b3c9d26, 2012-07-23 (annotated)
- Committer:
- tylerjw
- Date:
- Mon Jul 23 19:59:53 2012 +0000
- Revision:
- 2:d1b64b3c9d26
- Parent:
- 1:21a6da67311c
docs added;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| tylerjw | 1:21a6da67311c | 1 | /* Copyright (c) 2012 Tyler Weaver, MIT License |
| tylerjw | 1:21a6da67311c | 2 | * |
| tylerjw | 1:21a6da67311c | 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software |
| tylerjw | 1:21a6da67311c | 4 | * and associated documentation files (the "Software"), to deal in the Software without restriction, |
| tylerjw | 1:21a6da67311c | 5 | * including without limitation the rights to use, copy, modify, merge, publish, distribute, |
| tylerjw | 1:21a6da67311c | 6 | * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is |
| tylerjw | 1:21a6da67311c | 7 | * furnished to do so, subject to the following conditions: |
| tylerjw | 1:21a6da67311c | 8 | * |
| tylerjw | 1:21a6da67311c | 9 | * The above copyright notice and this permission notice shall be included in all copies or |
| tylerjw | 1:21a6da67311c | 10 | * substantial portions of the Software. |
| tylerjw | 1:21a6da67311c | 11 | * |
| tylerjw | 1:21a6da67311c | 12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING |
| tylerjw | 1:21a6da67311c | 13 | * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| tylerjw | 1:21a6da67311c | 14 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
| tylerjw | 1:21a6da67311c | 15 | * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| tylerjw | 1:21a6da67311c | 16 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| tylerjw | 1:21a6da67311c | 17 | */ |
| tylerjw | 1:21a6da67311c | 18 | |
| tylerjw | 0:043ed5bb10f2 | 19 | #include "mbed.h" |
| tylerjw | 0:043ed5bb10f2 | 20 | |
| tylerjw | 2:d1b64b3c9d26 | 21 | /** |
| tylerjw | 2:d1b64b3c9d26 | 22 | Watchdog timer |
| tylerjw | 2:d1b64b3c9d26 | 23 | simple implementation gotten from mbed |
| tylerjw | 2:d1b64b3c9d26 | 24 | @author unknown |
| tylerjw | 2:d1b64b3c9d26 | 25 | */ |
| tylerjw | 0:043ed5bb10f2 | 26 | class Watchdog { |
| tylerjw | 0:043ed5bb10f2 | 27 | public: |
| tylerjw | 0:043ed5bb10f2 | 28 | void kick(float); // init watchdog to number of seconds |
| tylerjw | 0:043ed5bb10f2 | 29 | void kick(); // kick the dog |
| tylerjw | 0:043ed5bb10f2 | 30 | }; |

