Firmware for the remote controller, where the arduino mega also acts as bluetooth relay and sensor platform.