added function to read internal voltage with 2x1Mohm voltage divider