This PR adds type definitions and documentation for all supported MCP3XXX devices. It's helpful for folks who use TypeScript for their projects or an editor which supports annotations.
Also, shout out to @fivdi and @rxseger for this excellent library! It's reduced the lift for me getting my temperature sensor working so much. Y'all are the best. Cheers!
This PR adds type definitions and documentation for all supported MCP3XXX devices. It's helpful for folks who use TypeScript for their projects or an editor which supports annotations.
Here's a VSCode example of types coming in handy: https://i.imgur.com/wX4t1uR.mp4
Closes #10.
Also, shout out to @fivdi and @rxseger for this excellent library! It's reduced the lift for me getting my temperature sensor working so much. Y'all are the best. Cheers!