Modify MCP41010 script for ESP32 (WROOM)

Job ID: 30837112

Budget: €8 – €30 EUR

I'm looking for somebody who can help me with a simple change in code to make a current script work with my ESP32 wroom devkit 1 (32)
Also need the correct pinout for wiring.

Code: https://github.com/sleemanj/MCP41_Simple
Related categories: Arduino