xodballxod/digipot-mcp-spi@0.2.0

Microchip Technology MCP413X/415X/423X/425X digital potentiometer and rheostat by SPI communication.
NodeDescription
main
Example of usage
spi
MCP413X/415X/423X/425X Max STEPS (128 or 256) and Max Resistance (5, 10, 50, 100 kOhm) depend on model of unit. STEP 0 = max resistance.
digipot-read-wiper
Read the steps from digipot wiper Pot2 -> true for reading the 2nd wiper.
digipot-write-step
MCP413X/415X/423X/425X Max STEPS (128 or 256) and Max Resistance (5, 10, 50, 100 kOhm) depend on model of unit. STEP 0 = max resistance.
digipot-increment
MCP413X/415X/423X/425X Max STEPS (128 or 256) and Max Resistance (5, 10, 50, 100 kOhm) depend on model of unit. STEP 0 = max resistance.
digipot-write-to-class
MCP413X/415X/423X/425X Max STEPS (128 or 256) and Max Resistance (5, 10, 50, 100 kOhm) depend on model of unit. STEP 0 = max resistance.
digipot-class
(Not Implemented) MCP413X/415X/423X/425X Max STEPS (128 or 256) and Max Resistance (5, 10, 50, 100 kOhm)
digipot-decrement
Decrease the Step on the wiper by 1 step
digipot-kohm-to-step
Example applying math to the parameters of the device to select the resistance, Ohms, you want.
To use the nodes in your project you should have the xodballxod/digipot-mcp-spi library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.