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.
CLED.h@0:0fcc82d7750c, 2020-07-16 (annotated)
- Committer:
- maro
- Date:
- Thu Jul 16 08:20:57 2020 +0000
- Revision:
- 0:0fcc82d7750c
- Child:
- 1:62baf2ea5573
IHS1.1-STM32F303K8
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| maro | 0:0fcc82d7750c | 1 | #ifndef CLED_H |
| maro | 0:0fcc82d7750c | 2 | #define CLED_H |
| maro | 0:0fcc82d7750c | 3 | #include "Sensor.h" |
| maro | 0:0fcc82d7750c | 4 | |
| maro | 0:0fcc82d7750c | 5 | // *************************** CLED ******************************** |
| maro | 0:0fcc82d7750c | 6 | class CLED { |
| maro | 0:0fcc82d7750c | 7 | public: |
| maro | 0:0fcc82d7750c | 8 | CLED(int ver=10); |
| maro | 0:0fcc82d7750c | 9 | void set(byte* ary12, bool indi = false); |
| maro | 0:0fcc82d7750c | 10 | void set(byte val12); |
| maro | 0:0fcc82d7750c | 11 | |
| maro | 0:0fcc82d7750c | 12 | private: |
| maro | 0:0fcc82d7750c | 13 | void indiBlink(); |
| maro | 0:0fcc82d7750c | 14 | const byte* color; |
| maro | 0:0fcc82d7750c | 15 | static const byte c10[7]; |
| maro | 0:0fcc82d7750c | 16 | static const byte c11[7]; |
| maro | 0:0fcc82d7750c | 17 | static const byte INDI_COLOR; |
| maro | 0:0fcc82d7750c | 18 | byte indVal; |
| maro | 0:0fcc82d7750c | 19 | }; |
| maro | 0:0fcc82d7750c | 20 | |
| maro | 0:0fcc82d7750c | 21 | #endif |