just a blinking led - Script Writing - CHDK Forum

just a blinking led

  • 3 Replies
  • 4094 Views
just a blinking led
« on: 04 / February / 2009, 13:52:23 »
Advertisements
Hi,

I just need a blinking led (once) to modify the lightning script so that when it takes a photo it also blinks the blue led for, let's say, half a second.

I found where I have to modify the code (tested it with some print "I got a photo").

The problem is that I was not able to switch on and off any led.

I tried with:

set_led 8 1 120
sleep 500
set_led 8 0 120

And with many other values of led number instead of 8 (4,5,6,7) and with or without the brightness value (120 in this case).

I'm sure I'm missing something very stupid...but here I am!  :(
Ixus 80IS fw ver. 101a - CHDK ver. 0.9.1-678 (13 jan 2009) - GCC 4.3.2

Re: just a blinking led
« Reply #1 on: 04 / February / 2009, 16:37:26 »
Ok, I understood why...simply my camera doesn't support set_led  >:(

It's an ixus 80is. I read about the problems here: http://chdk.setepontos.com/index.php?topic=2044.300

I really am very sad...unless i can connect the camera port in order to make an external led blink, I cannot use my camera to control the shot of an external EOS  :(
Ixus 80IS fw ver. 101a - CHDK ver. 0.9.1-678 (13 jan 2009) - GCC 4.3.2

*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: just a blinking led
« Reply #2 on: 05 / February / 2009, 06:22:36 »
Ok, I understood why...simply my camera doesn't support set_led  >:(
It's an ixus 80is.

Just a suggestion: you should add your camera model & firmware version to your signature, you'll get more / faster responses then... ;)

Re: just a blinking led
« Reply #3 on: 05 / February / 2009, 11:04:56 »

Just a suggestion: you should add your camera model & firmware version to your signature, you'll get more / faster responses then... ;)


Tnx for the tip...done;)
Ixus 80IS fw ver. 101a - CHDK ver. 0.9.1-678 (13 jan 2009) - GCC 4.3.2

 

Related Topics


SimplePortal © 2008-2014, SimplePortal