changed reset to adc, changed behaviour of rw led