Added error detection to serial protocol

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
Reset Hall effect sensor order to sane values

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
Correct serial RX logic

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
Update motor output pins on set_power

Previously, we would wait until the motor changed orientation.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
Set correct duty cycle for reverse motion

I forgot to perform a negation before.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
Minor fixes to motor power control

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