New project

Dependencies:   mbed TextLCD

Train.h

Committer:
jasminealice
Date:
2018-06-11
Revision:
18:f5824ba95892
Child:
20:32ba0a5f2d02

File content as of revision 18:f5824ba95892:

#ifndef TRAIN_H
#define TRAIN_H
#include "mbed.h"

class Train
{
    public:
        Train(unsigned int newaddress);
        virtual ~Train();
        int getPosition();

    protected:

    private:

    unsigned int address;
    int position;
    bool direction;
};

#endif // TRAIN_H