change pin of servo in servo_handler.py
This commit is contained in:
		
							parent
							
								
									3aecfd6187
								
							
						
					
					
						commit
						abfe573b45
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -1,7 +1,7 @@
 | 
				
			||||||
from i2c_handler import I2CSlaveHandler, Packet
 | 
					from i2c_handler import I2CSlaveHandler, Packet
 | 
				
			||||||
from servo import Servo
 | 
					from servo import Servo
 | 
				
			||||||
 | 
					
 | 
				
			||||||
s1 = Servo(0)
 | 
					s1 = Servo(29)
 | 
				
			||||||
s1.middle()
 | 
					s1.middle()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def servo_Map(x, in_min, in_max, out_min, out_max):
 | 
					def servo_Map(x, in_min, in_max, out_min, out_max):
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue