Header for MeLEDMatrix.cpp module.
More...
Go to the source code of this file.
|
|
#define | PointOn 1 |
| |
|
#define | PointOff 0 |
| |
|
#define | LED_BUFFER_SIZE 16 |
| |
|
#define | STRING_DISPLAY_BUFFER_SIZE 20 |
| |
|
#define | Mode_Address_Auto_Add_1 0x40 |
| |
|
#define | Mode_Permanent_Address 0x44 |
| |
|
#define | ADDRESS(addr) (0xC0 | addr) |
| |
|
| enum | LED_Matrix_Brightness_TypeDef {
Brightness_0 = 0
, Brightness_1
, Brightness_2
, Brightness_3
,
Brightness_4
, Brightness_5
, Brightness_6
, Brightness_7
,
Brightness_8
} |
| |
Header for MeLEDMatrix.cpp module.
- Author
- MakeBlock
- Version
- V1.0.3
- Date
- 2016/01/29
- Copyright
- This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
conditions. The main licensing options available are GPL V2 or Commercial:
- Open Source Licensing GPL V2
- This is the appropriate option if you want to share the source code of your
application with everyone you distribute it to, and you also want to give them
the right to share who uses it. If you wish to use this software under Open
Source Licensing, you must contribute all your source code to the open source
community in accordance with the GPL Version 2 when your application is
distributed. See http://www.gnu.org/copyleft/gpl.html
- Description
- This file is a drive for Me LED Matrix device
- Method List:
- void MeLEDMatrix::clearScreen();
- void MeLEDMatrix::setBrightness(uint8_t Bright);
- void MeLEDMatrix::setColorIndex(bool Color_Number);
- void MeLEDMatrix::drawBitmap(int8_t x, int8_t y, uint8_t Bitmap_Width, uint8_t *Bitmap);
- void MeLEDMatrix::drawStr(int16_t X_position, int8_t Y_position, const char *str);
- void MeLEDMatrix::showClock(uint8_t hour, uint8_t minute, bool point_flag);
- void MeLEDMatrix::showNum(float value,uint8_t digits);
- void MeLEDMatrix::reset(uint8_t port);
- History:
`<Author>` `<Time>` `<Version>` `<Descr>`
forfish 2015/11/09 1.0.0 Add description
Mark Yan 2016/01/19 1.0.1 Add some new symbol
Mark Yan 2016/01/27 1.0.2 Add digital printing
Mark Yan 2016/01/29 1.0.3 Fix issue when show integer number