|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
Re: Using a limit switch
var = GetDigitalInput(1);
if ( var == 1 ) SetPWM( 1, 127); // Stop the motor |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Limit Switch for PCM | GeorgeC | Programming | 4 | 16-02-2007 13:21 |
| limit switch | wedellm | Electrical | 4 | 16-02-2007 13:01 |
| Limit Switch Basics | JWSnedden | Programming | 6 | 30-11-2006 19:48 |
| Limit switch in easy c? | chadbarbe | Programming | 6 | 02-02-2006 09:51 |