Hi Luke
The goal is set the device for have the best value mW@GHash (in other words best performance)
For do this I need to measure power and I already do it, but I need also to know hash rate and change number of bit.
In summary I need two function:
1 - receive hash rate
2- set bit number
I have free pin on MCP2210 and of course free pin on micro
1 pin with inaccurate timing is not sufficient for communications AFAIK.
Also, you need to define "hash rate" - there is no good way to measure instantaneous valid-result hashrate, so we'd probably need to coordinate when the averaging is reset etc.
It seems to me it would make more sense to feedback the voltage/current information into BFGMiner and do the logic there?