Mercurial > hg > beaglert
changeset 17:85e8b08a7471 matrix_gpio
- added example project matrix_gpio_demo
- added defines for GPIO_HIGH and GPIO_LOW
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Mon, 27 Apr 2015 18:27:04 +0100 |
parents | 670be80463a3 |
children | 31503d9de101 |
files | include/matrix_gpio_mapping.h |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/include/matrix_gpio_mapping.h Mon Apr 27 13:01:57 2015 +0100 +++ b/include/matrix_gpio_mapping.h Mon Apr 27 18:27:04 2015 +0100 @@ -8,7 +8,8 @@ //which might lead to unexpected results in case someone uses those in place of these or viceversa #define GPIO_INPUT 1 #define GPIO_OUTPUT 0 - +#define GPIO_HIGH 1 +#define GPIO_LOW 0 //mapping GPIO numbers to header pins //if you want to use different pins/ordering, define here new pins. The ordering here is NOT binding #define P8_07_GPIO_NO 66