Skip to content

Commit 498f59b

Browse files
authored
Merge pull request #10 from dhalbert/version-and-repo
add __version__ and __repo__
2 parents 71f3947 + d1017ed commit 498f59b

File tree

7 files changed

+22
-4
lines changed

7 files changed

+22
-4
lines changed

adafruit_seesaw/analoginput.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
# THE SOFTWARE.
2222
# pylint: disable=missing-docstring,invalid-name,too-many-public-methods
2323

24+
__version__ = "0.0.0-auto.0"
25+
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_seesaw.git"
26+
2427
class AnalogInput:
2528
def __init__(self, seesaw, pin):
2629
self._seesaw = seesaw
@@ -36,4 +39,3 @@ def value(self):
3639
@property
3740
def reference_voltage(self):
3841
return 3.3
39-

adafruit_seesaw/crickit.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323

2424
from micropython import const
2525

26+
__version__ = "0.0.0-auto.0"
27+
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_seesaw.git"
28+
2629
_ADC_INPUT_0_PIN_CRICKIT = const(2)
2730
_ADC_INPUT_1_PIN_CRICKIT = const(3)
2831
_ADC_INPUT_2_PIN_CRICKIT = const(40)

adafruit_seesaw/digitalio.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323

2424
import digitalio
2525

26+
__version__ = "0.0.0-auto.0"
27+
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_seesaw.git"
28+
2629
class DigitalIO:
2730
def __init__(self, seesaw, pin):
2831
self._seesaw = seesaw

adafruit_seesaw/neopixel.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
import ustruct as struct
2828
from micropython import const
2929

30+
__version__ = "0.0.0-auto.0"
31+
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_seesaw.git"
32+
3033
_NEOPIXEL_BASE = const(0x0E)
3134

3235
_NEOPIXEL_STATUS = const(0x00)
@@ -88,4 +91,3 @@ def fill(self, color):
8891

8992
def show(self):
9093
self._seesaw.write(_NEOPIXEL_BASE, _NEOPIXEL_SHOW)
91-

adafruit_seesaw/pwmout.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
# THE SOFTWARE.
2222
# pylint: disable=missing-docstring,invalid-name,too-many-public-methods,too-few-public-methods
2323

24+
__version__ = "0.0.0-auto.0"
25+
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_seesaw.git"
26+
2427
class PWMOut:
2528
"""A single seesaw channel that matches the :py:class:`~pulseio.PWMOut` API."""
2629
def __init__(self, seesaw, pin):
@@ -51,4 +54,3 @@ def duty_cycle(self, value):
5154
raise ValueError("Out of range")
5255
self._seesaw.analog_write(self._pin, value)
5356
self._dc = value
54-

adafruit_seesaw/samd09.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323

2424
from micropython import const
2525

26+
__version__ = "0.0.0-auto.0"
27+
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_seesaw.git"
28+
2629
_ADC_INPUT_0_PIN = const(0x02)
2730
_ADC_INPUT_1_PIN = const(0x03)
2831
_ADC_INPUT_2_PIN = const(0x04)
@@ -42,4 +45,3 @@ class SAMD09_Pinmap:
4245
pwm_pins = (_PWM_0_PIN, _PWM_1_PIN, _PWM_2_PIN, _PWM_3_PIN)
4346

4447
touch_pins = ()
45-

adafruit_seesaw/seesaw.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,11 @@
5555
from micropython import const
5656
from adafruit_bus_device.i2c_device import I2CDevice
5757

58+
__version__ = "0.0.0-auto.0"
59+
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_seesaw.git"
60+
5861
_STATUS_BASE = const(0x00)
62+
5963
_GPIO_BASE = const(0x01)
6064
_SERCOM0_BASE = const(0x02)
6165

0 commit comments

Comments
 (0)