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
CmdListObjects/TList.h
- Committer:
- botdream
- Date:
- 2012-04-16
- Revision:
- 0:8b3857d4ce02
File content as of revision 0:8b3857d4ce02:
//--------------------------------------------------------------------------------------------- #include "mbed.h" //--------------------------------------------------------------------------------------------- class TList { private: public: TList *nextobject; uint8_t cmdtype; void *cmdobject; TList(){}; }; //--------------------------------------------------------------------------------------------- // Global helper function //--------------------------------------------------------------------------------------------- uint8_t GetListCount(); TList *GetListFirstObject(); uint8_t DeleteListFirstObject(); TList *SetListNextObject(); //---------------------------------------------------------------------------------------------