MATSUJIRUSHI Library.
MjSingleDigitDisplay.h@0:edeb3c119e51, 2016-02-24 (annotated)
- Committer:
- matsujirushi
- Date:
- Wed Feb 24 13:24:28 2016 +0000
- Revision:
- 0:edeb3c119e51
Add MjSingleDigitDisplay and MjSingleDigitDisplayTZ250A.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
matsujirushi | 0:edeb3c119e51 | 1 | /* Copyright (c) 2016 Takashi Matsuoka, MIT License |
matsujirushi | 0:edeb3c119e51 | 2 | * |
matsujirushi | 0:edeb3c119e51 | 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software |
matsujirushi | 0:edeb3c119e51 | 4 | * and associated documentation files (the "Software"), to deal in the Software without restriction, |
matsujirushi | 0:edeb3c119e51 | 5 | * including without limitation the rights to use, copy, modify, merge, publish, distribute, |
matsujirushi | 0:edeb3c119e51 | 6 | * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is |
matsujirushi | 0:edeb3c119e51 | 7 | * furnished to do so, subject to the following conditions: |
matsujirushi | 0:edeb3c119e51 | 8 | * |
matsujirushi | 0:edeb3c119e51 | 9 | * The above copyright notice and this permission notice shall be included in all copies or |
matsujirushi | 0:edeb3c119e51 | 10 | * substantial portions of the Software. |
matsujirushi | 0:edeb3c119e51 | 11 | * |
matsujirushi | 0:edeb3c119e51 | 12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING |
matsujirushi | 0:edeb3c119e51 | 13 | * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
matsujirushi | 0:edeb3c119e51 | 14 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
matsujirushi | 0:edeb3c119e51 | 15 | * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
matsujirushi | 0:edeb3c119e51 | 16 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
matsujirushi | 0:edeb3c119e51 | 17 | */ |
matsujirushi | 0:edeb3c119e51 | 18 | |
matsujirushi | 0:edeb3c119e51 | 19 | #pragma once |
matsujirushi | 0:edeb3c119e51 | 20 | |
matsujirushi | 0:edeb3c119e51 | 21 | #include "MjLibrary.h" |
matsujirushi | 0:edeb3c119e51 | 22 | |
matsujirushi | 0:edeb3c119e51 | 23 | /** Single Digit Display |
matsujirushi | 0:edeb3c119e51 | 24 | * |
matsujirushi | 0:edeb3c119e51 | 25 | * It's virtual class. |
matsujirushi | 0:edeb3c119e51 | 26 | */ |
matsujirushi | 0:edeb3c119e51 | 27 | class MjSingleDigitDisplay |
matsujirushi | 0:edeb3c119e51 | 28 | { |
matsujirushi | 0:edeb3c119e51 | 29 | public: |
matsujirushi | 0:edeb3c119e51 | 30 | virtual void write(uint8_t value) = 0; |
matsujirushi | 0:edeb3c119e51 | 31 | |
matsujirushi | 0:edeb3c119e51 | 32 | }; |