|
Re: Remote Reset/Prog through DigOut/Relay
I installed a single wire between the PROG pin on the header and DIG17 (chosen because it was already set as an output). Since our program is based on Kevin's "Bells & Whistles" camera code, there's already a spot in the "slow loop" where it checks for a menu keypress on the program port. We added a test to detect a "p" and set the digital output to zero, which essentially causes the robot to press its own PROG button.
Since the computer has to be connected to the program port anyway in order to program the RC, this works perfectly. We do have to activate the terminal window manually from the Options menu when we first start the IFI Loader program, but we no longer have to call for a random student to stick his or her hand into the robot and press the button. Now if we could only get a wireless RS-232 converter to play nice with the IFI Loader protocol...
|