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
Diff: CmdListObjects/TList.h
- Revision:
- 0:8b3857d4ce02
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CmdListObjects/TList.h Mon Apr 16 09:41:53 2012 +0000 @@ -0,0 +1,23 @@ +//--------------------------------------------------------------------------------------------- +#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(); +//--------------------------------------------------------------------------------------------- \ No newline at end of file