def drive_step_stick(self, cycles, direction):
    '\n        cycles and direction are integers\n        Communicates with arduino to add HCl through pump\n        :param cycles: number of rising edges for the pump\n        :param direction: direction of pump\n        '
    if (cycles == 0):
        return 0
    if self.serial.writable():
        self.serial.write(cycles.to_bytes(4, 'little'))
        self.serial.write(direction.to_bytes(1, 'little'))
        self.serial.flush()
        temp = self.serial.readline()
        if ((temp == b'DONE\r\n') or (temp == b'')):
            return 0
        else:
            return int(temp)
    else:
        interfaces.lcd_out('Arduino Unavailable', 4, constants.LCD_CENT_JUST)
cycles and direction are integers
Communicates with arduino to add HCl through pump
:param cycles: number of rising edges for the pump
:param direction: direction of pump
def drive_step_stick(self, cycles, direction):
    '\n        cycles and direction are integers\n        Communicates with arduino to add HCl through pump\n        :param cycles: number of rising edges for the pump\n        :param direction: direction of pump\n        '
    if (cycles == 0):
        return 0
    if self.serial.writable():
        self.serial.write(cycles.to_bytes(4, 'little'))
        self.serial.write(direction.to_bytes(1, 'little'))
        self.serial.flush()
        temp = self.serial.readline()
        if ((temp == b'DONE\r\n') or (temp == b)):
            return 0
        else:
            return int(temp)
    else:
        interfaces.lcd_out('Arduino Unavailable', 4, constants.LCD_CENT_JUST)