]> Repositories - Adafruit_Blinka-hackapet.git/blob - src/adafruit_blinka/microcontroller/fake_mcp2221/fake_mcp2221.py
pylint
[Adafruit_Blinka-hackapet.git] / src / adafruit_blinka / microcontroller / fake_mcp2221 / fake_mcp2221.py
1 # SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries
2 #
3 # SPDX-License-Identifier: MIT
4 """Chip Definition for MCP2221"""
5
6 import os
7 import time
8 import atexit
9
10 import hid
11
12
13 class MCP2221:
14     """MCP2221 Device Class Definition"""
15
16     def __init__(self):
17         pass  # This is a "fake" implementation
18
19     def __del__(self):
20         # try to close the device before destroying the instance
21         return
22
23     # pylint: enable=unused-argument
24
25
26 mcp2221 = MCP2221()