<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_pixel(self,x,y,state):
 	"""Set pixel at "x,y" to "state" where state can be one of "ON", "OFF" 	or "TOGGLE" 	"""

	self.send_cmd("P"+str(x+1)+","+str(y+1)+","+state)