Add analog input source code