Arduino C++ Firmware code for the Dome application