Parse serial inputs.

Untested.
Update digital pins and linear rail.