Permalink
Browse files

Fixed for IDE 1.0

  • Loading branch information...
1 parent e94d8b7 commit 6b9a3eba246913b98a5a2ba59afaa813eebcced5 @Hardcore-fs Hardcore-fs committed Jan 8, 2012
@@ -2,13 +2,13 @@
//
// Copyright 2010 Ovidiu Predescu <ovidiu@gmail.com>
// Date: December 2010
+// Updated: 08-JAN-2012 for Arduno IDE 1.0 by <Hardcore@hardcoreforensics.com>
//
#include <SPI.h>
#include <Ethernet.h>
#include <Flash.h>
-#include <SdFat.h>
-#include <SdFatUtil.h>
+#include <SD.h>
#include <TinyWebServer.h>
// The LED attached in PIN 13 on an Arduino board.
@@ -2,13 +2,13 @@
//
// Copyright 2010 Ovidiu Predescu <ovidiu@gmail.com>
// Date: June 2010
+// Updated: 08-JAN-2012 for Arduno IDE 1.0 by <Hardcore@hardcoreforensics.com>
//
#include <SPI.h>
#include <Ethernet.h>
#include <Flash.h>
-#include <SdFat.h>
-#include <SdFatUtil.h>
+#include <SD.h>
#include <TinyWebServer.h>
boolean file_handler(TinyWebServer& web_server);
@@ -41,7 +41,7 @@ SdFile file;
static uint8_t mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
// Don't forget to modify the IP to an available one on your home network
-byte ip[] = { 192, 42, 172, 237 };
+byte ip[] = { 192, 168, 5, 237 };
void send_file_name(TinyWebServer& web_server, const char* filename) {
if (!filename) {
@@ -2,20 +2,21 @@
//
// Copyright 2010 Ovidiu Predescu <ovidiu@gmail.com>
// Date: June 2010
+// Updated: 08-JAN-2012 for Arduno IDE 1.0 by <Hardcore@hardcoreforensics.com>
//
#include <SPI.h>
#include <Ethernet.h>
#include <Flash.h>
-#include <SdFatUtil.h>
+#include <SD.h>
#include <TinyWebServer.h>
boolean index_handler(TinyWebServer& web_server);
static uint8_t mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
// Don't forget to modify the IP to an available one on your home network
-byte ip[] = { 192, 42, 172, 237 };
+byte ip[] = { 192, 168, 5, 177 };
TinyWebServer::PathHandler handlers[] = {
{"/", TinyWebServer::GET, &index_handler },

0 comments on commit 6b9a3eb

Please sign in to comment.