MakeBlock Drive Updated Updated library for MakeBlock Ranger

Loading...
Searching...
No Matches
Variables
Me7SegmentDisplay.cpp File Reference

Driver for Me 7 Segment Serial Display module. More...

`#include "Me7SegmentDisplay.h"`
Include dependency graph for Me7SegmentDisplay.cpp:

## Variables
const uint8_t TubeTab[] | PROGMEM

## Detailed Description

Driver for Me 7 Segment Serial Display module.

Author
  Frankie.Chu, MakeBlock

Version
  V1.0.5

Date
  2016/07/27

Copyright
  This software is Copyright (C), 2012-2018, 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
  Driver for Me 7 Segment Serial Display module.

Method List:

1. void Me7SegmentDisplay::init(void);
2. void Me7SegmentDisplay::set(uint8_t brightness, uint8_t SetData, uint8_t SetAddr);
3. void Me7SegmentDisplay::reset(uint8_t port);
4. void Me7SegmentDisplay::setpin(uint8_t dataPin, uint8_t clkPin);
5. void Me7SegmentDisplay::write(uint8_t SegData[]);
6. void Me7SegmentDisplay::write(uint8_t BitAddr, uint8_t SegData);
7. void Me7SegmentDisplay::display(uint16_t value);
8. void Me7SegmentDisplay::display(int16_t value);
9. void Me7SegmentDisplay::display(float value);
10. void Me7SegmentDisplay::display(long value);
11. int16_t Me7SegmentDisplay::checkNum(float v,int16_t b);
12. void Me7SegmentDisplay::display(double value, uint8_t digits);
13. void Me7SegmentDisplay::display(uint8_t DispData[]);
14. void Me7SegmentDisplay::display(uint8_t BitAddr, uint8_t DispData);
15. void Me7SegmentDisplay::display(uint8_t BitAddr, uint8_t DispData, uint8_t point_on);
16. void Me7SegmentDisplay::clearDisplay(void);
17. void Me7SegmentDisplay::setBrightness(uint8_t brightness);
18. void Me7SegmentDisplay::coding(uint8_t DispData[]);
19. uint8_t Me7SegmentDisplay::coding(uint8_t DispData);

History:

      `<Author>`         `<Time>`        `<Version>`        `<Descr>`
      makeblock        2013/08/08     0.0.1            According to hardware differences, initial revision
      Mark Yan         2015/07/24     1.0.0            Rebuild the old lib.
      Rafael Lee       2015/09/02     1.0.1            Added some comments and macros. Some bug fixed in coding function.
      Mark Yan         2015/10/29     1.0.2            fix issue when display negative data.
      Mark Yan         2015/11/09     1.0.3            fix some comments error.
      Mark Yan         2015/11/12     1.0.4            fix driver API.
      Mark Yan         2016/07/27     1.0.5            add display to support long type.

## Variable Documentation

## ◆ PROGMEM

const uint8_t TubeTab [] PROGMEM

Initial value:
=
{
0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7d, 0x07, 0x7f, 0x6f,
0x77, 0x7c, 0x39, 0x5e, 0x79, 0x71,
0xbf, 0x86, 0xdb, 0xcf, 0xe6, 0xed, 0xfd, 0x87, 0xff, 0xef,
0xf7, 0xfc, 0xb9, 0xde, 0xf9, 0xf1,
0, 0x40
}