As far as I can tell Pins 12 and 13 are supposed to be connected to limit switches 1 and 2. It’s a big of reverse engineering, but is the attached image correct?
So as a test I thought I’d see if I could read these two pins from the Orion. Which basically means:
pinMode (12,INPUT); // orion port 3
pinMode (13,INPUT); // orion port 3
…and, in a loop…
int iNewX1 = digitalRead (12) ;
int iNewX2 = digitalRead (13) ;
I get some info back on the serial, but it seems more noise than anything else. Is what I’ve written here correct?