Measure the power use of an esp8266 - or other power sink

uses an arduino uno and a single resistor to measure current draw from power source - allowing optimisation of power use in an esp8266 sketch
single resistor run the sketch then copy the output to excel to do analysis