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-20
- Revision:
- 29:95469b25e187
- Parent:
- 10:9ef3f520ff6c
- Child:
- 30:c647da947bd9
File content as of revision 29:95469b25e187:
#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: unsigned int _positionX; unsigned int _positionY; unsigned int _oldPositionX; unsigned int _oldPositionY; unsigned int _couleur; public: // CONSTRUCTEUR cLed(); cLed(unsigned int x, unsigned int y); cLed(unsigned int x, unsigned int y, unsigned int c); // GETTERS unsigned int getPositionX(); unsigned int getPositionY(); unsigned int getOldPositionX(); unsigned int getOldPositionY(); unsigned int getCouleur(); // SETTER void setPositionX(unsigned int); void setPositionY(unsigned int); void setOldPositionX(unsigned int); void setOldPositionY(unsigned int); void setCouleur(unsigned int c); // METHODES }; #endif