MakeBlock Drive Updated Updated library for MakeBlock Ranger

Loading...
Searching...
No Matches
Classes | Macros | Enumerations
MeLEDMatrix.h File Reference

Header for MeLEDMatrix.cpp module. More...

`#include "MePort.h"`
Include dependency graph for MeLEDMatrix.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | MeLEDMatrix
| Driver for Me LED Matrix module. More...

## Macros
#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)

## Enumerations
enum | LED_Matrix_Brightness_TypeDef { Brightness_0 = 0 , Brightness_1 , Brightness_2 , Brightness_3 , Brightness_4 , Brightness_5 , Brightness_6 , Brightness_7 , Brightness_8 }

## Detailed Description

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:

1. void MeLEDMatrix::clearScreen();
2. void MeLEDMatrix::setBrightness(uint8_t Bright);
3. void MeLEDMatrix::setColorIndex(bool Color_Number);
4. void MeLEDMatrix::drawBitmap(int8_t x, int8_t y, uint8_t Bitmap_Width, uint8_t *Bitmap);
5. void MeLEDMatrix::drawStr(int16_t X_position, int8_t Y_position, const char *str);
6. void MeLEDMatrix::showClock(uint8_t hour, uint8_t minute, bool point_flag);
7. void MeLEDMatrix::showNum(float value,uint8_t digits);
8. 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