pyPicoSDK Configuration/Overrides

These functions allow you to override the pyPicoSDK package settings and configuration.

override_directory(directory)

Use this to specify the dictionary PicoSDK is in. pyPicoSDK will attempt to find PicoSDK through a list of expected locations. If your install of PicoSDK still isn't found, use this function to set it.

Parameters:
  • directory (str) –

    New directory location of PicoSDK. Defaults to None.

Examples:

>>> import pypicosdk as psdk
>>> psdk.override_directory('C:/Program Files/Pico Technology/SDK')