http://mbed.org/users/shintamainjp/notebook/starboard_expbrd-one_ex1_en/

Dependencies:   mbed RemoteIR SuperTweet ConfigFile EthernetNetIf

Revision:
1:c4cfd136f9c7
Parent:
0:db299c5a18ba
--- a/main.cpp	Fri Oct 29 23:17:01 2010 +0000
+++ b/main.cpp	Thu Nov 04 14:33:07 2010 +0000
@@ -1,14 +1,32 @@
 /**
- * StarBoard Orange Expansion Board - Example application No.1 (Version 0.0.1)
+ * =============================================================================
+ * Expansion Board One - Example application No.1 (Version 0.0.1)
  * http://mbed.org/users/shintamainjp/notebook/starboard_expbrd-one_ex1_en/
+ * =============================================================================
+ * Copyright (c) 2010 Shinichiro Nakamura (CuBeatSystems)
  *
- * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems)
- * http://shinta.main.jp/
+ * 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.
+ * =============================================================================
  */
 
 #include "mbed.h"
 #include "TextLCD.h"
-#include "TextLCD_SR4.h"
 #include "EthernetNetIf.h"
 #include "SuperTweetV1XML.h"
 #include "ConfigFile.h"
@@ -23,7 +41,7 @@
 /*
  * Definitions for a configuration file.
  */
-#define CONFIG_FILENAME         "/local/SETUP.CFG"
+#define CONFIG_FILENAME         "/local/SBOE1.CFG"
 
 /*
  * Variables.
@@ -52,9 +70,8 @@
 /*
  * Classes.
  */
+LocalFileSystem localfs("local");
 TextLCD lcd(p24, p26, p27, p28, p29, p30);
-// TextLCD_SR4 lcd(p29, p30, p28, p27);
-LocalFileSystem fs_local("local");
 EthernetNetIf netif;
 MyHomeLight room_light(p21);
 StreamFilter sf("<text>", "</text>");