![]() |
Using a limit switch
Help!!
how do i use a limit switch to stop a motor at a given point. i need this in autonomous mode |
Re: Using a limit switch
var = GetDigitalInput(1);
if ( var == 1 ) SetPWM( 1, 127); // Stop the motor |
| All times are GMT -5. The time now is 00:27. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi