Arduino code for VADS