Change high and low values
Этот коммит содержится в:
		
							родитель
							
								
									6163744cc9
								
							
						
					
					
						коммит
						9436b73651
					
				
					 1 изменённых файлов: 2 добавлений и 2 удалений
				
			
		|  | @ -86,8 +86,8 @@ void loop() { | |||
| } | ||||
| void forward_brake(int posa, int posb) { | ||||
|   //set the appropriate values for aphase and bphase so that the robot goes straight
 | ||||
|   digitalWrite(aphase, LOW); | ||||
|   digitalWrite(bphase, HIGH); | ||||
|   digitalWrite(aphase, HIGH); | ||||
|   digitalWrite(bphase, LOW	); | ||||
|   analogWrite(aenbl, posa); | ||||
|   analogWrite(benbl, posb); | ||||
| } | ||||
|  |  | |||
		Загрузка…
	
	Создание таблицы
		Добавить ссылку
		
	
		Сослаться в новой задаче