Generic Step Motor WebInterface - control a step motor using a Pololu A4983 driver from a webinterface (EXPERIMENTAL PROTOTYPE - just to be used as a proof-of-concept for a IoT talk, will not be updating this code so often)

Dependencies:   EthernetNetIf RPCInterface mbed HTTPServer

Committer:
botdream
Date:
Mon Apr 16 09:41:53 2012 +0000
Revision:
0:8b3857d4ce02

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
botdream 0:8b3857d4ce02 1 //---------------------------------------------------------------------------------------------
botdream 0:8b3857d4ce02 2 #include "mbed.h"
botdream 0:8b3857d4ce02 3 //---------------------------------------------------------------------------------------------
botdream 0:8b3857d4ce02 4 class TList
botdream 0:8b3857d4ce02 5 {
botdream 0:8b3857d4ce02 6 private:
botdream 0:8b3857d4ce02 7
botdream 0:8b3857d4ce02 8 public:
botdream 0:8b3857d4ce02 9 TList *nextobject;
botdream 0:8b3857d4ce02 10
botdream 0:8b3857d4ce02 11 uint8_t cmdtype;
botdream 0:8b3857d4ce02 12 void *cmdobject;
botdream 0:8b3857d4ce02 13
botdream 0:8b3857d4ce02 14 TList(){};
botdream 0:8b3857d4ce02 15 };
botdream 0:8b3857d4ce02 16 //---------------------------------------------------------------------------------------------
botdream 0:8b3857d4ce02 17 // Global helper function
botdream 0:8b3857d4ce02 18 //---------------------------------------------------------------------------------------------
botdream 0:8b3857d4ce02 19 uint8_t GetListCount();
botdream 0:8b3857d4ce02 20 TList *GetListFirstObject();
botdream 0:8b3857d4ce02 21 uint8_t DeleteListFirstObject();
botdream 0:8b3857d4ce02 22 TList *SetListNextObject();
botdream 0:8b3857d4ce02 23 //---------------------------------------------------------------------------------------------