this will take a image from C328 serial camera and store those images in mbed flash as html and this html page is uploaded into the server at ip:192.168.1.2

Dependencies:   mbed

Revision:
0:e1a0471e5ffb
diff -r 000000000000 -r e1a0471e5ffb myrpc.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/myrpc.h	Wed Dec 15 15:01:56 2010 +0000
@@ -0,0 +1,34 @@
+// myrpc.h
+//
+// Based on:
+// http://mbed.org/projects/cookbook/svn/Servo/trunk/Servo.h
+// http://mbed.org/projects/cookbook/svn/Servo/trunk/Servo.cpp
+
+#ifndef MYRPC_H
+#define MYRPC_H
+
+#include "mbed.h"
+
+namespace mbed {
+
+class myrpc : public Base {
+public:
+  myrpc(PinName pin, const char* name = NULL);
+  void debug(int val);
+  void blink(int n);
+  char * echo(const char *);
+  void settime(const char *t);
+  char *gettime(const char *fmt);
+  
+#ifdef MBED_RPC
+  virtual const struct rpc_method *get_rpc_methods();
+  static struct rpc_class *get_rpc_class();
+#endif    // MBED_RPC
+
+protected:
+    DigitalOut _pin;
+    char _buffer[256];     // String buffer
+};
+
+}    // namespace mbed
+#endif    // MYRPC_H
\ No newline at end of file