worked on reading adc, that works, just making the code readable and easly configurable.