Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
stepping_moter.h@0:110462dc43d1, 2012-05-15 (annotated)
- Committer:
- paasukusai
- Date:
- Tue May 15 03:45:15 2012 +0000
- Revision:
- 0:110462dc43d1
act_stepping_motor
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| paasukusai | 0:110462dc43d1 | 1 | #ifndef MBED_STEPPING_MOTER_H |
| paasukusai | 0:110462dc43d1 | 2 | #define MBED_STEPPING_MOTER_H |
| paasukusai | 0:110462dc43d1 | 3 | |
| paasukusai | 0:110462dc43d1 | 4 | class stepping_moter{ |
| paasukusai | 0:110462dc43d1 | 5 | public: |
| paasukusai | 0:110462dc43d1 | 6 | stepping_moter(PinName p1,PinName p2,PinName p3,PinName p4); |
| paasukusai | 0:110462dc43d1 | 7 | void step_moter(int deg_set, double wait_time); |
| paasukusai | 0:110462dc43d1 | 8 | |
| paasukusai | 0:110462dc43d1 | 9 | private: |
| paasukusai | 0:110462dc43d1 | 10 | BusOut _d; |
| paasukusai | 0:110462dc43d1 | 11 | };//class |
| paasukusai | 0:110462dc43d1 | 12 | |
| paasukusai | 0:110462dc43d1 | 13 | #endif |