updated for voltage divider, and ISP interface