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: mbed APDS_9960 mbed-rtos
include/cForme.h
- Committer:
- Willheisen
- Date:
- 2016-03-30
- Revision:
- 3:493dd1cf30a4
- Parent:
- 1:ab5f440f4156
- Child:
- 4:b7a46af55574
File content as of revision 3:493dd1cf30a4:
#ifndef CFORME_H #define CFORME_H #include "cLed.h" class cForme { protected: unsigned char _orientation; // 4 orientations : rotation de 90° --> de 1 à 4 unsigned char _positionX; unsigned char _positionY; cLed _Leds[4];// LEDS private: public: // CONSTRUCTEURS cForme(); // GETTERS unsigned char getOrientation(); unsigned char getPositionX(); unsigned char getPositionY(); cLed *getLed(); // SETTERS void setOrientation(unsigned char orientation); void setPositionX(unsigned char x); void setPositionY(unsigned char y); //virtual void afficherForme(); }; #endif