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.
Dependencies: mbed
Fork of display_nums2 by
stepper.h@5:10c020b45c1f, 2018-04-02 (annotated)
- Committer:
- billymark
- Date:
- Mon Apr 02 20:49:10 2018 +0000
- Revision:
- 5:10c020b45c1f
- Parent:
- 4:a01cf485b9d9
fasdjkfha;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| billymark | 1:3d6796759d45 | 1 | |
| billymark | 1:3d6796759d45 | 2 | #ifndef STEPPER_H |
| billymark | 1:3d6796759d45 | 3 | #define STEPPER_H |
| billymark | 1:3d6796759d45 | 4 | |
| billymark | 1:3d6796759d45 | 5 | #define STP_CW 1 |
| billymark | 1:3d6796759d45 | 6 | #define STP_CCW -1 |
| billymark | 1:3d6796759d45 | 7 | |
| billymark | 1:3d6796759d45 | 8 | #define DRV8806_MODE 0 //mode |
| billymark | 1:3d6796759d45 | 9 | #define DRV8806_FREQ 1000000 //frequency |
| billymark | 1:3d6796759d45 | 10 | #define DRV8806_BITS 8, //num of bits |
| billymark | 1:3d6796759d45 | 11 | |
| billymark | 1:3d6796759d45 | 12 | |
| billymark | 1:3d6796759d45 | 13 | |
| billymark | 1:3d6796759d45 | 14 | void stp_init(); |
| billymark | 1:3d6796759d45 | 15 | void stp_step(int direction); |
| billymark | 1:3d6796759d45 | 16 | |
| billymark | 2:8a0f128f4be5 | 17 | |
| billymark | 2:8a0f128f4be5 | 18 | #endif |
