Compare commits

..

1 commit

Author SHA1 Message Date
dherrada
e39a8e7bcd Fixed discord invite link 2020-07-08 16:49:04 -04:00
4 changed files with 7 additions and 1 deletions

View file

@ -6,7 +6,7 @@ Introduction
:alt: Documentation Status :alt: Documentation Status
.. image:: https://img.shields.io/discord/327254708534116352.svg .. image:: https://img.shields.io/discord/327254708534116352.svg
:target: https://discord.gg/nBQh6qu :target: https://adafru.it/discord
:alt: Discord :alt: Discord
.. image:: https://github.com/adafruit/Adafruit_CircuitPython_CAP1188/workflows/Build%20CI/badge.svg .. image:: https://github.com/adafruit/Adafruit_CircuitPython_CAP1188/workflows/Build%20CI/badge.svg

View file

@ -47,6 +47,7 @@ from micropython import const
__version__ = "0.0.0-auto.0" __version__ = "0.0.0-auto.0"
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_CAP1188.git" __repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_CAP1188.git"
# pylint: disable=bad-whitespace
_CAP1188_MID = const(0x5D) _CAP1188_MID = const(0x5D)
_CAP1188_PID = const(0x50) _CAP1188_PID = const(0x50)
_CAP1188_MAIN_CONTROL = const(0x00) _CAP1188_MAIN_CONTROL = const(0x00)
@ -73,6 +74,7 @@ _CAP1188_LED_LINKING = const(0x72)
_CAP1188_PRODUCT_ID = const(0xFD) _CAP1188_PRODUCT_ID = const(0xFD)
_CAP1188_MANU_ID = const(0xFE) _CAP1188_MANU_ID = const(0xFE)
_CAP1188_REVISION = const(0xFF) _CAP1188_REVISION = const(0xFF)
# pylint: enable=bad-whitespace
_SENSITIVITY = (128, 64, 32, 16, 8, 4, 2, 1) _SENSITIVITY = (128, 64, 32, 16, 8, 4, 2, 1)

View file

@ -49,7 +49,9 @@ from adafruit_cap1188.cap1188 import CAP1188
__version__ = "0.0.0-auto.0" __version__ = "0.0.0-auto.0"
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_CAP1188.git" __repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_CAP1188.git"
# pylint: disable=bad-whitespace
_CAP1188_DEFAULT_ADDRESS = const(0x29) _CAP1188_DEFAULT_ADDRESS = const(0x29)
# pylint: enable=bad-whitespace
class CAP1188_I2C(CAP1188): class CAP1188_I2C(CAP1188):

View file

@ -49,9 +49,11 @@ from adafruit_cap1188.cap1188 import CAP1188
__version__ = "0.0.0-auto.0" __version__ = "0.0.0-auto.0"
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_CAP1188.git" __repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_CAP1188.git"
# pylint: disable=bad-whitespace
_CAP1188_SPI_SET_ADDR = const(0x7D) _CAP1188_SPI_SET_ADDR = const(0x7D)
_CAP1188_SPI_WRITE_DATA = const(0x7E) _CAP1188_SPI_WRITE_DATA = const(0x7E)
_CAP1188_SPI_READ_DATA = const(0x7F) _CAP1188_SPI_READ_DATA = const(0x7F)
# pylint: enable=bad-whitespace
class CAP1188_SPI(CAP1188): class CAP1188_SPI(CAP1188):