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
Diff: include/cLed.h
- Revision:
- 7:4b283e36b147
- Parent:
- 4:b7a46af55574
- Child:
- 10:9ef3f520ff6c
diff -r d6b0bf27bac6 -r 4b283e36b147 include/cLed.h --- a/include/cLed.h Thu Mar 31 11:24:34 2016 +0000 +++ b/include/cLed.h Fri Apr 01 14:30:30 2016 +0000 @@ -7,32 +7,30 @@ // Classe Led // Gestion d'une Led de la matrice de led -class cLed -{ +class cLed { private: - unsigned char _positionX; - unsigned char _positionY; - unsigned char _couleur; + unsigned char _positionX; + unsigned char _positionY; + unsigned char _couleur; public: - // CONSTRUCTEUR - cLed(); - cLed(unsigned char x, unsigned char y); - cLed(unsigned char x, unsigned char y, unsigned char c); - // GETTERS + // CONSTRUCTEUR + cLed(); + cLed(unsigned char x, unsigned char y); + cLed(unsigned char x, unsigned char y, unsigned char c); + // GETTERS - unsigned char getPositionX(); - unsigned char getPositionY(); - unsigned char getCouleur(); + unsigned char getPositionX(); + unsigned char getPositionY(); + unsigned char getCouleur(); - // SETTER + // SETTER - void setPositionX(unsigned char x); - void setPositionY(unsigned char y); - void allumer(unsigned char c); - void eteindre(); + void setPositionX(unsigned char x); + void setPositionY(unsigned char y); + void allumer(unsigned char c); + void eteindre(); - // METHODES - + // METHODES };