]> Repositories - Adafruit_Blinka-hackapet.git/blob - src/adafruit_blinka/microcontroller/fake_mcp2221/fake_mcp2221.py
74a0713e5f3874b686e8e6d8e10578f1e6a4f816
[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
7 class MCP2221:
8     """MCP2221 Device Class Definition"""
9
10     def __init__(self):
11         pass  # This is a "fake" implementation
12
13     def __del__(self):
14         # try to close the device before destroying the instance
15         return
16
17     # pylint: enable=unused-argument
18
19
20 mcp2221 = MCP2221()