Help needed with a simple Duplex application

Yay! This can only mean one thing: the control-velocity-through-accelerometer-z-feature is coming! Hooray! Hooray!

;)