docs: def write(self, pkt):
  		"""
  		This is a simple serial write command. It toggles the RTS pin and formats
  		all of the data into bytes before it writes.
  		"""
  		self.setRTS(self.DD_WRITE)
  		self.flushInput()
  		# prep data array for transmition
  		pkt = bytearray(pkt)
  		pkt = bytes(pkt)
  
  		num = self.serial.write(pkt)
  		# self.serial.flush()
  		# print('wrote {} of len(pkt) = {}'.format(num, len(pkt)))
  		return num