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.
Position/Position.h
- Committer:
- evanso
- Date:
- 2020-05-13
- Revision:
- 27:8bb2bd97c319
- Child:
- 28:a5958497d5ce
File content as of revision 27:8bb2bd97c319:
#ifndef POSITION_H #define POSITION_H // Included libraries ---------------------------------------------------------- #include "mbed.h" /** Position class * @brief Postition perant class * @author Benjamin Evans, University of Leeds * @date May 2020 */ class Position { public: protected: // Varibles ---------------------------------------------------------------- /** x position on lcd */ int position_x_; /** y position on lcd */ int position_y_; /** Movement direction true = East, false = West */ bool direction_; }; #endif