Two pulseIn not working?

Hey people!
I got a sketch with two pulseIn functions on different digital Pins. But it isn't working :frowning: Anyone knows this problem?
I only receive wrong characters over the serial port...
Thanks for helping!

Greets,
Patrick

Can't really help without seeing the sketch... If I had to guess from the "I only receive wrong characters over the serial port..." portion of your post I would guess that you're using pin 0 or 1 -and- trying to do serial IO?

Yeah, now it is working! I used Port 0,1 an Serial IO. Now i am using other Ports and it is working.
Thanks!