thanks to everyone!
this is what I was looking for: number = log(fnMCP23017Read(INFTFA))/log(2);
school math is long time ago... ![]()
looping through 8 bits might be almost as fast...
thanks to everyone!
this is what I was looking for: number = log(fnMCP23017Read(INFTFA))/log(2);
school math is long time ago... ![]()
looping through 8 bits might be almost as fast...