public void sendToMcu(char A, char HD, char LD) { //send command to MCU
        if (conn!=null) {
            System.out.println(A+"-"+HD+"-"+LD);
            conn.send(new String(new char[] {0x76, 0x75, A, HD, LD}));
        }
    }