fixed: wrong value for bitwise left shift tested using a MCP3002-I/SN with raspberry pi 3 b+ running Raspbian GNU/Linux 9.11 measured devices: 5k slide potentiometer & dwyer 628