arduino code for triple gauge