added bin to BCD conversion algorithm
added ADC measure routines