Computer GUI to Control Arduino/Adafruit

Thanks Paul, I think I need the Arduino code too, that which gets sent by a button click. I appreciate that those smarter than me would help. To see the telescopes you can visit my site; http://darkskyobserving.com/, or pick up the June issue of Astronomy magazine and turn to page 60.

I have just ordered what I think are the remaining components for the calibration lamp box; a perforated project circuit board, two 5vdc relays, and TIP120's to connect the inverter circuit board to the custom lamp board. I already have the other needed resistors and diodes, and, NE45 and AR3 lamps.

The calibration box will tie to the main spectrograph box via cable containing two photoresistor input lines to Arduino indicating either lamp lit condition, two output lines from Arduino to operate the two relays that turn on a lamp and select which lamp, plus 5vdc and ground. Once completed I'd need to know which pins you've called out for those two inputs and two outputs to be connected to. The motor shield is built and the DC motors are on M1, 2, and 3. The servo is on number 1. I've already soldered in the remaining sockets on the shield. The three DC motors are jog in forward or reverse. They are geared motors and should go slow in PWM. The servo needs a 90 degree turn, or back. I haven't worked with any code besides my limited web-building. I think I'd need the code for Arduino as well....

Steven