need help for setup a serial comm ...

I try to set up the serial to: 1200 bauds, 7 data bits, 1parity bit, 1 stop bit . i try with the registers this sketch:

void setup() { Serial.begin(1200); //disable interrupts while setting bits in registers cli(); // set 7 datas bits bitClear(UCSR0B,UCSZ00); bitSet(UCSR0B,UCSZ01); bitClear(UCSR0B,UCSZ02); //set parity even bitSet(UCSR0B,UPM01); bitClear(UCSR0B,UPM00); // set 1 Stop bit bitClear(UCSR0B,USBS0); // reenable interrupts sei(); }

char data;

void loop() { while(Serial.available()>0) Serial.print(data); }

that don't work ! what's wrong ? help me please ...