From 49f7d22841681ba0f9c5ad925a4cd926220390b3 Mon Sep 17 00:00:00 2001 From: Murat Ursavas Date: Tue, 15 Feb 2022 21:21:39 +0300 Subject: [PATCH] Fixed: Button GPIO mapping has been corrected. (NebraLtd/hm-pyhelper#125) --- hm_pyhelper/hardware_definitions.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hm_pyhelper/hardware_definitions.py b/hm_pyhelper/hardware_definitions.py index f143296..6503ee0 100644 --- a/hm_pyhelper/hardware_definitions.py +++ b/hm_pyhelper/hardware_definitions.py @@ -311,7 +311,7 @@ def is_raspberry_pi(): 'RESET': 25, 'MAC': 'wlan0', 'STATUS': 20, - 'BUTTON': 21, + 'BUTTON': 7, 'ECCOB': True, 'TYPE': 'Full', 'CELLULAR': False, diff --git a/setup.py b/setup.py index 7608f10..b23bfbd 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name='hm_pyhelper', - version='0.13.11', + version='0.13.12', author="Nebra Ltd", author_email="support@nebra.com", description="Helium Python Helper",