|
Re: Microswitch only returns 0
Do you read a 1 from the switch when it isn't physically plugged in? If so, then your switch might be faulty.
If you still read 0 from a digital input that isn't connected to anything, then there's a software or wiring problem elsewhere and we'll have to do some deeper troubleshooting. Start by describing for us what the big orange Robot Signal Light is doing.
|