added (untested) functions to measure current from current sense amplifier connected to scope, may need to fix triggering