A start with some current sensor code

Copied in some code from old master software as a starting point. Code
compiles but won't run until configuration settings are fixed.