Comunicating ADC+ Arduino DUE with the protocol 1-wire

If you only have those two possibilities like that then an if() is more appropriate

if (DataReceivedMODE == '1')
   AutomaticMode= 0;
else
   AutomaticMode= 1;

or even better (but more cryptic)

AutomaticMode = DataReceivedMODE == '1' ? 0 : 1

Rob