This pull request adds Blinka support for a "fake" MCP2221 device. This means that no device is attached and the environment will mock the CircuitPython hardware API layer.
To test, set the following environment variables in either your shell or a CPython script:
This driver mocks the functionality of the Adafruit_CircuitPython_BME280, allowing you to test your code without attaching physical hardware. Instead of using random data, weather data is instead pulled from the OpenWeatherMaps API and returned as if it were coming from the BME280 sensor properties.
This pull request adds Blinka support for a "fake" MCP2221 device. This means that no device is attached and the environment will mock the CircuitPython hardware API layer.
To test, set the following environment variables in either your shell or a CPython script:
Implemented and tested on CPython: