All adc fuctions were moved to slides.c module