High Altitude Recovery Payload

HARP: High Altitude Recovery Payload

Version 0.1: RC design

/media/uploads/tylerjw/_scaled_2012-07-23_mbed_xbee_breadboard.jpg

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.

Committer:
tylerjw
Date:
Mon Jul 23 19:24:02 2012 +0000
Revision:
1:21a6da67311c
Parent:
0:043ed5bb10f2
Child:
2:d1b64b3c9d26
MIT license notice

Who changed what in which revision?

UserRevisionLine numberNew 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 0:043ed5bb10f2 21 class Watchdog {
tylerjw 0:043ed5bb10f2 22 public:
tylerjw 0:043ed5bb10f2 23 void kick(float); // init watchdog to number of seconds
tylerjw 0:043ed5bb10f2 24 void kick(); // kick the dog
tylerjw 0:043ed5bb10f2 25 };