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-01
- Revision:
- 7:4b283e36b147
- Parent:
- 4:b7a46af55574
- Child:
- 10:9ef3f520ff6c
File content as of revision 7:4b283e36b147:
#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 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 unsigned char getPositionX(); unsigned char getPositionY(); unsigned char getCouleur(); // SETTER void setPositionX(unsigned char x); void setPositionY(unsigned char y); void allumer(unsigned char c); void eteindre(); // METHODES }; #endif