FT810 DISCO-429ZI
Dependencies: BSP_DISCO_F429ZI EEPROM_DISCO_F429ZI FT810_DISCO-F429ZI GYRO_DISCO_F429ZI KEYPAD_DISCO_F429ZI LCD_DISCO_F429ZI SDRAM_DISCO_F429ZI TS_DISCO_F429ZI mbed
Stepper.h
- Committer:
- mozillain
- Date:
- 2018-01-10
- Revision:
- 1:2e00250c31c8
File content as of revision 1:2e00250c31c8:
#ifndef MBED_STEPPER_H #define MBED_STEPPER_H #endif #include "mbed.h" class stepper { public: stepper(PinName _en, PinName _stepPin, PinName dir); void step(int microstep, int dir, float speed); void enable(); void disable(); private: DigitalOut en; DigitalOut stepPin; DigitalOut direction; };