Serial.write (zero) problem

I am having trouble sending out just a zero from the serial port. If i use : Serial.write(0x01); it just works Serial.write(0x00); wont compile. I tried to find out how but i just cant get the value zero out of the serial port like that. My workaround for now: int a=0; Serial.write(a); Anyon…