This is the quickstart guide for the MCP980X module, with step-by-step instructions on how to configure and use the drivers in a selection of use cases.
The use cases contain several code fragments. The code fragments in the steps for setup can be copied into a custom initialization function, while the steps for usage can be copied into, e.g., the main application function.
In this basic use case, the MCP980X module is configured to:
Add this MCP980X initialization code at the beginning of the main function:
Add to, e.g., main loop in application C-file: