### Summary For AD conversion, a function like set_analogGain() is needed to set the gain as well as the set_reference() function to set the reference voltage.