arduino/Arduino — pull request #2486 by agdl (2014-12-05 15:44:18+00:00)
Title: this closes issue #2198

In this way the problem doesn't subsist any more because pinMode checks if pin is digital and if so disable ADC when pin is declared as OUTPUT and enable it if declared as INPUT