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: LCD_DISCO_F429ZI mbed BSP_DISCO_F429ZI
servo_gui.h
00001 #ifndef SERVO_GUI_H 00002 #define SERVO_GUI_H 00003 00004 #include "LCD_DISCO_F429ZI.h" 00005 00006 enum StepDirection {RIGHT, LEFT}; 00007 00008 class ServoGui 00009 { 00010 public: 00011 ServoGui(void); 00012 void GuiStepLeft(void); 00013 void GuiStepRight(void); 00014 unsigned char ucReadDetector(void); 00015 private: 00016 void LedOn(unsigned char); 00017 void LedStep(enum StepDirection); 00018 void MotorStep(enum StepDirection); 00019 LCD_DISCO_F429ZI lcd; 00020 unsigned char ucLedCtr; 00021 unsigned int uiStepCounter; 00022 double dAngle; 00023 }; 00024 00025 #endif
Generated on Tue Aug 16 2022 02:56:50 by
 1.7.2
 1.7.2