Header for Me4Button.cpp module.
More...
#include <stdint.h>
#include <stdbool.h>
#include <Arduino.h>
#include "MeConfig.h"
#include "MePort.h"
Go to the source code of this file.
|
|
#define | KEY_NULL (0) |
| |
|
#define | KEY_1 (1) |
| |
|
#define | KEY_2 (2) |
| |
|
#define | KEY_3 (3) |
| |
|
#define | KEY_4 (4) |
| |
|
#define | KEY_NULL_VALUE (962) |
| |
|
#define | KEY_1_VALUE (0) |
| |
|
#define | KEY_2_VALUE (481) |
| |
|
#define | KEY_3_VALUE (641) |
| |
|
#define | KEY_4_VALUE (721) |
| |
|
#define | DEBOUNCED_INTERVAL (8) |
| |
|
#define | FALSE (0) |
| |
|
#define | TRUE (1) |
| |
Header for Me4Button.cpp module.
- Author
- MakeBlock
- Version
- V1.0.1
- Date
- 2015/08/31
- 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 the drive for 4 Button module, It supports Me-4 Button V1.0 module provided by MakeBlock.
- Method List:
- void Me4Button::setpin(uint8_t port);
- uint8_t Me4Button::pressed();
- History:
`<Author>` `<Time>` `<Version>` `<Descr>`
Mark Yan 2015/07/24 1.0.0 Rebuild the old lib.
Rafael Lee 2015/08/31 1.0.1 Added some comments and macros.