fixed some functions

fixed conversion from integer array to string
fixed single channel ADC sampling function