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