Skip to content

Commit 18591ff

Browse files
committed
Fixed constant interrupt values
1 parent b2a65e7 commit 18591ff

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

as3935/AS3935.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
import time
1919

2020

21-
INT_NH = 0x0001
22-
INT_D = 0x0100
23-
INT_L = 0x1000
21+
INT_NH = 0b0001
22+
INT_D = 0b0100
23+
INT_L = 0b1000
2424

2525

2626
class AS3935:

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
setup(
99
name='as3935',
1010
packages=['as3935'],
11-
version='0.1.3',
11+
version='0.1.4',
1212
license='gpl-3.0',
1313
description="A Python3 module to control the lightning detector AS3935 chip",
1414
long_description=long_description,
1515
long_description_content_type="text/x-rst",
1616
author = 'Eloi Codina',
1717
author_email = 'eloi.codina@gmail.com',
1818
url = 'https://github.com/ecodina/python_as3935',
19-
download_url='https://github.com/ecodina/python_as3935/archive/v0.1.3-beta.tar.gz',
19+
download_url='https://github.com/ecodina/python_as3935/archive/v0.1.4-beta.tar.gz',
2020
keywords = ['python', 'raspberry', 'gpio', 'lightning', 'sensor'],
2121
install_requires=[
2222
'pigpio',

0 commit comments

Comments
 (0)