The API pages in this section explain the additional functionality offered by the following shields:
Note that this functionality is not built into the firmware, and you will need to download additional libraries from our Github libraries repository.
The API pages are separated per sensor:
Next to that, you will need either one of the supporting files needed to operate the shield:
Place the applicable Python files for your shield into the
/lib folder of your project. Do not forget to press
upload project to device in Pymakr to make sure you are able to use them.
Once the libraries are uploaded to the device, they can be used/imported as a typical MicroPython library would be. For example, importing and using the light sensor on the Pysense:
from pycoproc import Pycoproc from LTR329ALS01 import LTR329ALS01 py = Pycoproc() lt = LTR329ALS01(py) print(lt.light())