You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
	
	
		
			
	
		
		
			
				
				
					
						
						
						
							 | 
							
							export AMPY_PORT=/dev/cu.SLAB_USBtoUART
 | 
						
						
						
						
							 | 
							
							export BAUD_RATE=115200
 | 
						
						
						
						
							 | 
							
							
 | 
						
						
						
						
							 | 
							
							function repl_connect (){
 | 
						
						
						
						
							 | 
							
								echo "Connecting to $AMPY_PORT"
 | 
						
						
						
						
							 | 
							
								screen $AMPY_PORT $BAUD_RATE
 | 
						
						
						
						
							 | 
							
							}
 | 
						
						
						
						
							 | 
							
							
 | 
						
						
						
						
							 | 
							
							function upy (){
 | 
						
						
						
						
							 | 
							
								_command=${1}
 | 
						
						
						
						
							 | 
							
								shift
 | 
						
						
						
						
							 | 
							
							# 	echo "command $_command params $@"
 | 
						
						
						
						
							 | 
							
								ampy -p $AMPY_PORT -b $BAUD_RATE ${_command} $@
 | 
						
						
						
						
							 | 
							
							} |