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/cLed.h
- Committer:
- clementdoreau
- Date:
- 2016-04-21
- Revision:
- 30:c647da947bd9
- Parent:
- 29:95469b25e187
- Child:
- 32:029962133529
File content as of revision 30:c647da947bd9:
#ifndef LED_H #define LED_H #include "Couleurs.h" #include "mbed.h" // Classe Led // Gestion d'une Led de la matrice de led class cLed { private: int _positionX; int _positionY; int _oldPositionX; int _oldPositionY; unsigned int _couleur; public: // CONSTRUCTEUR cLed(); cLed( int x, int y); cLed( int x, int y, unsigned int c); // GETTERS int getPositionX(); int getPositionY(); int getOldPositionX(); int getOldPositionY(); unsigned int getCouleur(); // SETTER void setPositionX( int); void setPositionY( int); void setOldPositionX( int); void setOldPositionY( int); void setCouleur(unsigned int c); // METHODES }; #endif