Example applying math to the parameters of the device to select the resistance, Ohms, you want.
digipot-kohm-to-step
@/digipot-kohm-to-step
Example applying math to the parameters of the device to select the resistance, Ohms, you want.
maxSTEPnumber
Max Steps (128 or 255)
maxKohmnumber
Max Resistance kOhm (5, 10, 50, 100)
kOhmnumber
Resistance kOhm desired
STEPnumber
To use the node 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.