def METHOD_NAME(conn, addr):
	global msgs_out, authenticated
	val = 0
	while (msgs_out < MSG_QTY):
		if authenticated:
			conn.sendall(hw("dw", HW_PIN, val))
			val = 0 if val else 1
			draw('.')
			msgs_out += 1
		time.sleep(SLEEP)