added ADC and buffering functions; probing DMA missing data bug