aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2010-08-25 18:17:10 -0400
committerbnewbold <bnewbold@robocracy.org>2010-08-25 18:17:10 -0400
commite14aa2adb49b6f1da00fccf1d45fdc67b11d0c99 (patch)
tree39e3414d525e3b279dfdd617f4514ddaa240da57
parentdb260e6c3d2e941e0420e283d98a357e48430428 (diff)
downloadlibrambutan-e14aa2adb49b6f1da00fccf1d45fdc67b11d0c99.tar.gz
librambutan-e14aa2adb49b6f1da00fccf1d45fdc67b11d0c99.zip
simplified example headers
-rw-r--r--examples/blinky.cpp28
-rw-r--r--examples/test-session.cpp29
2 files changed, 7 insertions, 50 deletions
diff --git a/examples/blinky.cpp b/examples/blinky.cpp
index b037a1f..45c4528 100644
--- a/examples/blinky.cpp
+++ b/examples/blinky.cpp
@@ -1,30 +1,4 @@
-/* *****************************************************************************
- * The MIT License
- *
- * Copyright (c) 2010 LeafLabs LLC.
- *
- * 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.
- * ****************************************************************************/
-
-/**
- * @brief blinky.cpp. Blinks the LED, pin 13
- */
+// Blinks the LED, pin 13
#include "wirish.h"
diff --git a/examples/test-session.cpp b/examples/test-session.cpp
index 9885ab3..cfb81d0 100644
--- a/examples/test-session.cpp
+++ b/examples/test-session.cpp
@@ -1,26 +1,9 @@
-/* *****************************************************************************
- * The MIT License
- *
- * Copyright (c) 2010 LeafLabs LLC.
- *
- * 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.
- * ****************************************************************************/
+// Interactive Test Session for LeafLabs Maple
+// Copyright (c) 2010 LeafLabs LLC.
+//
+// Useful for testing Maple features and troubleshooting. Select a COMM port
+// (SerialUSB or Serial2) before compiling and then enter 'h' at the prompt
+// for a list of commands.
#include "wirish.h"