DUE: unable to read AD0 and AD1 at the same time

holmes4:
Try using A0 and A1 as the analog pins not 0 and 1.

Mark

No point doing that, analogRead () accepts either numbering scheme.

This is a bug(*) that should be fixed in the next beta release as far as I recall - this
thread should be moved to the Due forum BTW.

(*) See reply #8 in analogRead problem with IDE 1.5.5 libraries - Arduino Due - Arduino Forum
once you switch to a different pin you get double conversions with the lowest
numbered pin being the one the value returned corresponds to.

I think the work around is something like

  analogRead (13) ;
  val = analogRead (pin) ;
  analogRead (13) ;
  val = analogRead (other_pin) ;

So long as pin and other_pin are less than 13 the result should belong to the
one you intend - well try it.