stepper 1 revolution example sketch wont work?

What sort of data are you sending to the Arduino - give some samples.

Have a look at the examples in Serial Input Basics - simple reliable ways to receive data.

...R