Code for motor control and 433 MHz radio communication