Finalny program mbed2

Dependencies:   LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI BSP_DISCO_F429ZI

led.h

Committer:
azmuth_sd
Date:
2020-06-09
Revision:
0:33ff53112cc9

File content as of revision 0:33ff53112cc9:

#ifndef LED_H
#define LED_H

#include "LCD_DISCO_F429ZI.h"

enum LedDirection {LEFT, RIGHT};

class Led {

private:
    LCD_DISCO_F429ZI lcd;
    char ucServoPos;
    void Step (enum LedDirection Direction);
    void On(unsigned char ucLedIndeks);

public:
    Led( void );
    void StepLeft(void);
    void StepRight(void);
};

#endif