I'm glad for each response, thank all yours.
For a first moment worked. But I'm trying to use a arduino to triggering the shots, so, when conected to a pc, the script must put the remote in off mode and I can download the photos.
I try use it, but don't work:
@title SOMENZI
while 1
do
k = get_usb_power
until k>0
rem I put If (k > 100 and k < 500) for when the arduino triggering a shoot......
if k > 100 and k < 500 then gosub "foto"
rem I put If k > 600 for when the pc usb connect to the usb......
if k > 600 then gosub "usboff"
wend
end
:foto
print "SWITCHING TO REC MODE"
set_record 1
sleep 3000
print "shooting"
press "shoot_half"
sleep 800
press "shoot_full"
sleep 700
release "shoot_full"
release "shoot_half"
sleep a*1000
print "SWITCHING BACK TO PLAY MODE"
set_record 0
sleep 3000
return
:usboff
print "IGNORING USB"
set_config_value 121 0
return
I built a special cable, to connect to PC and to receive the 5V signal from arduino, but I don't know build the script yet. Can someone help me again?
Thanks for any help.