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

Committer:
mitesh2patel
Date:
Wed Dec 15 15:01:56 2010 +0000
Revision:
0:e1a0471e5ffb

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mitesh2patel 0:e1a0471e5ffb 1 // myrpc.h
mitesh2patel 0:e1a0471e5ffb 2 //
mitesh2patel 0:e1a0471e5ffb 3 // Based on:
mitesh2patel 0:e1a0471e5ffb 4 // http://mbed.org/projects/cookbook/svn/Servo/trunk/Servo.h
mitesh2patel 0:e1a0471e5ffb 5 // http://mbed.org/projects/cookbook/svn/Servo/trunk/Servo.cpp
mitesh2patel 0:e1a0471e5ffb 6
mitesh2patel 0:e1a0471e5ffb 7 #ifndef MYRPC_H
mitesh2patel 0:e1a0471e5ffb 8 #define MYRPC_H
mitesh2patel 0:e1a0471e5ffb 9
mitesh2patel 0:e1a0471e5ffb 10 #include "mbed.h"
mitesh2patel 0:e1a0471e5ffb 11
mitesh2patel 0:e1a0471e5ffb 12 namespace mbed {
mitesh2patel 0:e1a0471e5ffb 13
mitesh2patel 0:e1a0471e5ffb 14 class myrpc : public Base {
mitesh2patel 0:e1a0471e5ffb 15 public:
mitesh2patel 0:e1a0471e5ffb 16 myrpc(PinName pin, const char* name = NULL);
mitesh2patel 0:e1a0471e5ffb 17 void debug(int val);
mitesh2patel 0:e1a0471e5ffb 18 void blink(int n);
mitesh2patel 0:e1a0471e5ffb 19 char * echo(const char *);
mitesh2patel 0:e1a0471e5ffb 20 void settime(const char *t);
mitesh2patel 0:e1a0471e5ffb 21 char *gettime(const char *fmt);
mitesh2patel 0:e1a0471e5ffb 22
mitesh2patel 0:e1a0471e5ffb 23 #ifdef MBED_RPC
mitesh2patel 0:e1a0471e5ffb 24 virtual const struct rpc_method *get_rpc_methods();
mitesh2patel 0:e1a0471e5ffb 25 static struct rpc_class *get_rpc_class();
mitesh2patel 0:e1a0471e5ffb 26 #endif // MBED_RPC
mitesh2patel 0:e1a0471e5ffb 27
mitesh2patel 0:e1a0471e5ffb 28 protected:
mitesh2patel 0:e1a0471e5ffb 29 DigitalOut _pin;
mitesh2patel 0:e1a0471e5ffb 30 char _buffer[256]; // String buffer
mitesh2patel 0:e1a0471e5ffb 31 };
mitesh2patel 0:e1a0471e5ffb 32
mitesh2patel 0:e1a0471e5ffb 33 } // namespace mbed
mitesh2patel 0:e1a0471e5ffb 34 #endif // MYRPC_H