#include...int one, two,...;
//ATD init: 10Bit, right-justified, enable, SC1=0,ATD0CTL2=0x90; ATD0CTL3=0x00;ATD0CTL4=0xE1;one=0;two=0;void main (void){ATD0CTL5=0%00010000; //MULT=1=onwhile((ATD0CTL0&0x80)!=0x80)); //wait for end of the sequenzone=ADR00H;one=one<<8;two=ADR00L;three=one|two;one1=ADR01H;one1=one1<<8;two1=ADR01L;three1=one1|two1;one2=ADR02H;one2=one2<<8;two2=ADR02L;three2=one2|two2;}}