Configurable ADC bits (up to 13 for now) and improved the final plot