Replace three negations with just one

Instead of negating "output" every time it's used, we can negate it at the time
of assignment.

Tested: Ran motors
Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>