We assume you already have Python 3 installed on your computer. Note we do not support Python 2 - it's deprecated and no longer supported!
At your command line prompt of choice, check your Python version with
From the command line, manually install hidapi with:
To install Blinka and its dependencies, run:
You'll need to set this variable every time before running CircuitPython code. To do this, we set the environment variable to BLINKA_MCP2221.,
You can set the variable by running:
Then, verify that the variable is set by running:
In the same terminal window you ran
export BLINKA_MCP2221="1", run
At the REPL, run:
If you get no errors and see a list of all the pins available, you're good to go!