From 58934acdf12d2f87d9c89620a55cf74419de650c Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Fri, 3 Dec 2021 01:51:43 +0000 Subject: [PATCH 1/2] fix: update button pin IDs as we are moving to mraa in hm-config we will use physical pin definitions for button and status LEDs instead of the system pin numbers (as per https://wiki.radxa.com/Rockpi4/dev/libmraa ) Ref https://github.com/NebraLtd/hm-config/issues/96 --- hm_pyhelper/hardware_definitions.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/hm_pyhelper/hardware_definitions.py b/hm_pyhelper/hardware_definitions.py index 4099d2e..0c6b30c 100644 --- a/hm_pyhelper/hardware_definitions.py +++ b/hm_pyhelper/hardware_definitions.py @@ -149,7 +149,9 @@ def is_raspberry_pi(): 'BUTTON': 154, 'ECCOB': True, 'TYPE': 'Full', - 'CELLULAR': False + 'CELLULAR': False, + 'GPIO_PIN_LED': 18, + 'GPIO_PIN_BUTTON': 16 }, # Nebra Hotspot HAT ROCK Pi 4 Outdoor @@ -163,7 +165,9 @@ def is_raspberry_pi(): 'BUTTON': 154, 'ECCOB': True, 'TYPE': 'Full', - 'CELLULAR': True + 'CELLULAR': True, + 'GPIO_PIN_LED': 18, + 'GPIO_PIN_BUTTON': 16 }, # Nebra Hotspot HAT RPi 3/4 Full From 86d45209365abe221d8e8653bf294e3913f8505c Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Sun, 5 Dec 2021 19:42:17 +0000 Subject: [PATCH 2/2] bump version number for release Bump version number for release --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 39c56f4..4716a96 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name='hm_pyhelper', - version='0.11.13', + version='0.11.14', author="Nebra Ltd", author_email="support@nebra.com", description="Helium Python Helper",