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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers TList.h Source File

TList.h

00001 //---------------------------------------------------------------------------------------------
00002 #include "mbed.h"
00003 //---------------------------------------------------------------------------------------------
00004 class TList
00005 {
00006   private:
00007   
00008   public:
00009   TList *nextobject;
00010   
00011   uint8_t cmdtype;
00012   void *cmdobject;   
00013   
00014   TList(){};  
00015 };
00016 //---------------------------------------------------------------------------------------------
00017 // Global helper function
00018 //---------------------------------------------------------------------------------------------
00019 uint8_t GetListCount();
00020 TList *GetListFirstObject();
00021 uint8_t DeleteListFirstObject();
00022 TList *SetListNextObject(); 
00023 //---------------------------------------------------------------------------------------------