Fixed compile errors on Due, added ability to use pin no as ID