a
Dependencies: LCD_DISCO_F429ZI mbed BSP_DISCO_F429ZI
stepper.h
- Committer:
- matis755
- Date:
- 2020-05-21
- Revision:
- 4:e48aee3e8d09
- Child:
- 5:3c19c3ae6286
File content as of revision 4:e48aee3e8d09:
#ifndef STEPPER #define STEPPER #include "led.h" class Stepper { private: DigitalIn Button; Led MyLed; unsigned char ucLedIdx, ucCurrentPos, ucDesiredPos; void Step(enum Step); void StepLeft(void); void StepRight(void); public: Stepper(); void Callib(void); void Goto(unsigned char); void Step(unsigned char); }; #endif