Stepping Motor Wait Subroutine:

This code hangs until the stepping motor raises the Ready flag.
The Motor Picaxe ignores commands sent when Ready is low.

Motor wait