Twinfury: moved voltage reading to the thread init function