|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Limit Switch Problem
Just to make note I don't really know if this goes in the Electrical or Programming...so move it please if its in the wrong one.
Ok, right now I'm having some problems to get the limit switch to work. We have it in "digital_io_18". the code is a simple. Code:
if(digital_io_18 == 1)
{
printf("Switch = %d",digital_io_18);
}
The problem is that its not changing states, but the controller LED "RC Hardware" is turning yellow(aka +5V output low) when its pressed PS we have the switch on "normally closed" PSS we are using kevin's 3.0 code ![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using a limit switch to limit motion | ManicMechanic | Programming | 16 | 20-12-2007 00:54 |
| Using a limit switch | thunderbolt | Programming | 1 | 02-04-2007 19:36 |
| limit switch | wedellm | Electrical | 4 | 16-02-2007 13:01 |
| Limit switch in easy c? | chadbarbe | Programming | 6 | 02-02-2006 09:51 |