I ended up using your library here https://github.com/pkourany/MCP4261_Library to get the MCP4151 100K 256 step digital pot up and running on the Photon with absolutely zero problems That’s really nice after trying a different chip and 3 different libraries on the Arduino Uno all of which did not work right for me.
I see you have some timing code for the Core built in and I was wondering if that code is necessary for the Photon or not.
Thanks for the creating this library port! Should this work on the Electron with zero issues also?